[distcc] Re: distcc 0.5

Martin Pool mbp at samba.org
Wed Jun 26 02:08:01 GMT 2002


On 26 Jun 2002, Michael Nottebrock <michaelnottebrock at gmx.net> wrote:
> I think the POSIX way of dealing with this is to check for EINTR and try 
> again if it is received.

Yes, I think that would be somewhat cleaner.  I'm not sure how many
calls as well as wait() have to be protected in that manner; I guess
it's in the manual.

Ironically, in a previous version of the code I *wanted* to get EINTR
back when children exited, but I didn't because the Linux default for
handlers established using signal() is to restart.

-- 
Martin 

Doubting Thomas -- the patron saint of scientists




More information about the distcc mailing list