[issue8407] expose signalfd(2) and pthread_sigmask in the signal module
Charles-François Natali
report at bugs.python.org
Tue May 24 18:15:34 CEST 2011
Charles-François Natali <neologix at free.fr> added the comment:
> New changeset f8c49a930015 by Victor Stinner in branch 'default':
> Issue #8407: The signal handler writes the signal number as a single byte
> http://hg.python.org/cpython/rev/f8c49a930015
There's a race.
If a signal is received while is_tripped is set, the signal number won't be written to the wakeup FD.
Patch attached.
----------
Added file: http://bugs.python.org/file22093/sig_wakeup_race.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8407>
_______________________________________
More information about the Python-bugs-list
mailing list