Dear Ben,
Thanks for the detailed reply to my query.
If my questions below can be answered by online docs, please feel free
to point me to them. I read through the following docs before my
previous email. But I am still mostly in the dark:
* man -s 2 for fork(), wait(), waitpid() and kill()
*
On 3/31/06, Kripa Sundar [EMAIL PROTECTED] wrote:
Dear Ben,
Thanks for the detailed reply to my query.
If my questions below can be answered by online docs, please feel free
to point me to them. I read through the following docs before my
previous email. But I am still mostly in the dark:
Hello all,
I thought this was fairly simple (and it probably is). But I am not
able to figure out how I can fork() off, say, five child processes, and
wait for all of them to terminate.
Is the code below on the right track? Is it as simple as
wait for [EMAIL PROTECTED]? I think this will let
On 3/30/06, Kripa Sundar [EMAIL PROTECTED] wrote:
Hello all,
I thought this was fairly simple (and it probably is). But I am not
able to figure out how I can fork() off, say, five child processes, and
wait for all of them to terminate.
1 until -1 == wait();
You'll need something more