Ref: synchronizing init task with an arbitrary number of worker tasks

Andrei Dimitrief-Jianu andrei.dimitrief.jianu at gmail.com
Tue Sep 25 22:30:13 UTC 2012


Hello,

I have an arbitrary number of worker tasks created and started in the
init task. I would like to have the init task wait on all of them to
finish and perform an exit() afterwards.

Anyone can suggest a pattern to use for synchronization?

Thank you!



More information about the users mailing list