POLL: disable signalfd usage by default?

Julien Danjou julien at danjou.info
Sat Nov 14 08:25:07 CET 2009

At 1258158276 time_t, Marc Lehmann wrote:
> So what do you think, should signalfd usage be requested explicitly and
> otherwise not be used?

I'd vote for having an option to explicite enabled signalfd usage.
We have been bitten by the "con" you described, and it's not pleasant to
try to work it around, and even not always possible.

> If we adopt this, then I would change libev to have these creation flags:
> #define EVFLAG_NOSIGFD             0U // for compatibility
> #define EVFLAG_SIGFD      0x00400000U // to request signalfd support

Sounds goods.

Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Tomorrow I was nothing, yesterday I'll be.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20091114/afe7ac6c/attachment.pgp>

More information about the libev mailing list