multiple move operations and data processes in work thread

Posted by younevertell on Stack Overflow See other posts from Stack Overflow or by younevertell
Published on 2010-04-06T18:10:29Z Indexed on 2010/04/06 18:13 UTC
Read the original article Hit count: 211

Filed under:
|

main thread--> start workthread-->StartStage(get list of positions for data process) --> move to one position --> data sampling*strong text*--> data collection-->data analysis------>data sampling*strong text*

basically, work thread does the data sampling*strong text*--> data collection-->data analysis------>data sampling*strong text* loop for one positioin until press stop or target is obtained.

my questions:

After work thread finishs the loop for one positioin, it would end itself.

now how to make the work thread moves to the next position to do the data process loop after work thread finish one position work, would not end itself until data process for all the positions are done?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about multithreading

Related posts about c#