Isn't most of the problem caused by inability to wait for other processes?
How about
fd = open("/proc/process_id/exit",O_RD)
read(fd,&status,n)
returns when the process exits.
Then all you need is a signal manager for a collection of processes.
>
> Chris Smith <cd_smith@ou.edu>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/