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
Post a Comment