parallel programming and multi threading in the Apllication layer
C#
1
Posts
1
Posters
0
Views
1
Watching
-
hi I have a major problem.I am designing a simple simulator for my college project,in this simulator I may have some code running simultanesly (vitrual).I mean, in this simulator ,simulator engine may wait on an object and run another object an then return back to the original object like what we have in calling Methods.In this way parallel programming and multi threading in the Apllication layer comes possible. I need to know if I can do this by halting execution in some point of the code manulay and run another code and the return back to the original code.This simulator runs on a single thread and may have many objects in it and can not have one thread per each object in order to use Mutex. Thanks