multiprocessing - C fork - how to wait for all children before starting workload? -


i trying fork() create multiple processes of same work. need of them created first, , @ same time start doing work. is, want of processes wait of other ones created, , once ready, start doing work @ same exact time.

is possible? thanks.

the simplest approach using signals, note there no way guarantee processes indeed run in parallel.

that's os decide.


Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c# - .Net Socket Read function blocking issue -