CFanatic

Go Back   CFanatic > Programming > C# Programming

Join CFanatic Forum Now

Model-View-Controller architecture and multithreading ...? topic posted under C# Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2010, 07:31 AM
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Castell is on a distinguished road
| More
Model-View-Controller architecture and multithreading ...?

Hi there,

is there an "recommendation", where to put threads of a multithreading application, if one goes with the mvc architecture?

For example one wants to simulate a road junction. Each traffic light of the road consists of a model, which stores the data
and a view, which displays the data.
Now if i want to let each traffic light run in a separate thread, should i create then the threads for each traffic light
in the Application class (the superordinate form), and those threads would run the traffic lights (each would start one),
or should i for example create the thread for a traffic light in its constructor, so the thread would be quasi automaticly
in the traffic lights...?

Are there any other options?
Are the two, that i thought of equal?

thanks for any answers in advance,
Castell
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Algorithm to get data from access database to tree view in C # csolutions C# Programming 0 09-01-2010 06:12 AM
Having a hard time with this Data Grid View Hogan29 C# Programming 0 08-28-2010 03:11 AM
MultiThreading Problem hypheni Win32 Programming 0 08-02-2010 02:30 AM
Component Object Model imaginative.bibhas C++ Programming 1 09-19-2008 11:23 AM
View vs. Control - question JackBeans MFC Programming 1 07-15-2007 10:30 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 03:55 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board