[docs] [issue25482] signal.set_wakeup_fd() doesn't work if the signal don't have handler

STINNER Victor report at bugs.python.org
Fri Oct 30 07:29:12 EDT 2015


STINNER Victor added the comment:

Atsuo Ishimoto added the comment:
> But I still think it is desirable for Python to have something like signalfd(),  because not all functions used in the signal handler of third party library can be called from user's Python script in general.

I don't think that you can use signalfd() in your case. When you use
signalfd(), signals must be blocked, so the signal handlers are *not*
called (not the Python signal handler, not the C signal handler, no
signal handler for the masked signals).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25482>
_______________________________________


More information about the docs mailing list