On Tue, 20 Jul 2004, Josh Close wrote:

> I'm doing several forks (up to 1000) and the child processes are
> returning data via a pipe.
>
> If the parent catches an error and I have the program exit, will all
> the children exit also?
>
> Or will they be waiting to pipe, in which case I should kill all the children?
>
> "I should kill all the children"..... when did programming become so violent?

Hopefully, your children will notice that the other end closed the pipe
and commit suicide instead ;-)

Seriously, your child processes should check for connection resets anyway.


-- 
Aj.
Sys. Admin / Developer

--
gentoo-user at gentoo.org mailing list



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list