ev signal watchers

Brandon Black blblack at gmail.com
Tue Mar 3 16:01:40 CET 2009

Todd Fisher wrote:

> The troble I'm having is the child processes stop receiving signals, 
> from the parent process - when there is a lot of activity.  I am able to 
> resume signal processing by putting the whole process to sleep and 
> waking it back up (cntrl+z fg)...  This behavior seems odd and I'm 
> wondering if by off chance anyone has 
> 1. any suggestions about this queuing system design, e.g. the use of 
> signals to communicate to a child process vs using a pipe?

It's a little early in the morning for me to comment on the rest yet, 
but I will say that POSIX signals are only guaranteed to be delivered at 
all, there is no guarantee on *when* they will be delivered.  They're 
not a reliably means of realtime communication.

More information about the libev mailing list