libev SIGCHLD handler
Marc Lehmann
schmorp at schmorp.de
Thu May 10 17:39:23 CEST 2012
On Thu, May 10, 2012 at 03:28:31PM +0400, Vetoshkin Nikita <nikita.vetoshkin at gmail.com> wrote:
> Not sure if this issue was on the list, google suggests nothing.
> If I'm not mistaken, upon receiving SIGHCLD libev calls waitpid(-1,
> ...) only once, which is wrong because multiple SIGCHLDs can be merged
> into one if many child processes died while we were in sighandler
> code.
You are probably mistaken - maybe you should describe what you are seeing
(the symptoms), specifically, do you have a case where libev does not loop?
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the libev
mailing list