On 2014-04-02, Marc Lehmann wrote:
> > I wrote a generic thread pool for libev some time ago and dubbed it
> > evtp[1].
> 
> Extra points for supporting EV_MULTIPLICITY :)
> 
> A problem is there though: your threadpool has the classical problem of
> inheriting the signal mask, and thus wreaks havoc with signal handling (by
> introducing race conditions with event libs such as libev and by making it
> impossible to block signals).

Aye, you're right. I've included your proposed fix, thanks!

Yorhel.

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to