Fix signal handler

SF Markus Elfring elfring at
Sun Sep 23 15:51:36 CEST 2012


I suggest to look at the implementation of the function "ev_sighandler" again.

It calls the function "ev_feed_signal" which works with the global array
"signals". I find that the use of this data type is not async-signal-safe for a
strictly conforming program.

Does it cause a race condition eventually?

Would you like to look for alternative interfaces which will enable the desired
data exchange in a safe and robust way?


More information about the libev mailing list