Subject: Re: signal confusion
To: Paul B Dokas <dokas@cs.umn.edu>
From: dustin sallings <dustin@spy.net>
List: current-users
Date: 11/05/1998 19:09:00
On Thu, 5 Nov 1998, Paul B Dokas wrote:
// BTW, I've other wise solved this problem in my program by rewriting
// it. Expect a psh type program (see the thread of about 2 weeks ago)
// soon!
Wouldn't it make more sense to just use psh? :)
The way I solved this problem was to not rely on signal handlers
to do the work. It ended up being a lot more straightforward (and using
no global variables, etc...) to spawn off however many processes I want to
keep running, then just loop a waitpid as long as I've got work left.
--
SA, beyond.com The world is watching America,
pub 1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net>
| Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8 BE
L________________________________________ and America is watching TV. __