views:

46

answers:

0

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

basically, work thread does the data sampling --> data collection-->data analysis------>data sampling 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!