[issue8407] expose signalfd(2) and pthread_sigmask in the signal module
STINNER Victor
report at bugs.python.org
Sat May 7 12:07:18 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
wakeup_signum.patch: simple patch to write the signal number (as a single byte) instead of just b'\x00' into the wake up file descriptor. It gives the ability to watch more than one signal and be able to know which one was raised. Included tests demonstrate the feature. The doc explains how to decode data written to the file descriptor.
----------
Added file: http://bugs.python.org/file21922/wakeup_signum.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8407>
_______________________________________
More information about the Python-bugs-list
mailing list