[issue21895] signal.pause() and signal handlers don't react to SIGCHLD in non-main thread

Nathaniel Smith report at bugs.python.org
Tue Mar 21 21:43:27 EDT 2017


Nathaniel Smith added the comment:

@haypo: It's a socketpair. It works fine when I set up a toy test case using set_wakeup_fd + select, and it works fine in my real code when I use CFFI cleverness to register a signal handler that manually writes a byte to my wakeup socket, but when I pass that exact same socket to set_wakeup_fd in my real code, it doesn't work. It's pretty mysterious, and I have no particular reason to think that the problem is in CPython as opposed to some stupid mistake I'm making.

----------

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


More information about the Python-bugs-list mailing list