Re: [PATCH] git-daemon: Simplify child management and associated logging by
- From
Stephen R. van den Berg <srb@cuci.nl>
- Date
- Aug 13, 2008, 08:23 UTC
- Message-ID
- <20080813082342.GC12628@cuci.nl>
- In-Reply-To
- <20080812225642.GA15265@cuci.nl>
Stephen R. van den Berg wrote:
Show 7 quoted lines
>Junio C Hamano wrote: >> - Taking advantage of poll() getting interrupted by SIGCHLD, so that you >> do not have to do anything in the signal handler, is so obvious that I >> am actually ashamed of not having to think of it the last time we >> touched this code. Is there a poll() that does not return EINTR but >> just call the handler and restart after that as if nothing has >> happened, I have to wonder...
>Only if the signal is set to SIG_IGN on all systems I worked with since >1987.
And even if it doesn't get interrupted and restarts, it means that it merely leaves some zombies uncollected until the next new connection to the daemon; nothing to get worried about.
--
Sincerely,
Stephen R. van den Berg.
"And now for something *completely* different!"