proposal: defer installing SIGCHLD

Denis Bilenko denis.bilenko at gmail.com
Tue May 22 14:57:00 CEST 2012


On Tue, May 22, 2012 at 4:49 PM, Zsbán Ambrus <ambrus at math.bme.hu> wrote:
> On Tue, May 22, 2012 at 11:21 AM, Denis Bilenko <denis.bilenko at gmail.com> wrote:
>> The patch below defers installing SIGCHLD until the first child
>> watcher is started. Thus, if an application does not use child
>> watchers, libev never installs a SIGCHLD handler.
>
> Couldn't you instead compile with EV_MULTIPLICITY and use a non-default loop?

No, because I do want to use child watchers. It's a library, once
compiled, it can be used in different applications.



More information about the libev mailing list