libev 3.8 threads & signals

common at gmx.ch common at gmx.ch
Thu Sep 24 15:31:30 CEST 2009


Hi,

this problem came up with 3.8, worked fine with 3.6 before.

I have a g_thread_pool and libev, following pseudocode

create_thread_pool
set_and_start_ev_signal_handlers

was working fine, with 3.8 it does not work any longer, my current 
workaround is changing the order

set_and_start_ev_signal_handlers
create_thread_pool

but I doubt that behaviour is desired.

Example program is attached.


MfG
Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signalev.c
Type: text/x-csrc
Size: 819 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20090924/cdc20c1e/attachment.c>


More information about the libev mailing list