May 24, 2008, 4:55 AM
Post #1 of 2
How the parent process knows that all its child process has finished execution?
The parent process fork's and creates 30-40 child process to process 30-40 files. The parent process has to wait until all child process have completed processing the files.
The proble is how long the parent process has to wait? or how will the parent process know that all child process has finished execution?