[issue12040] Expose a Process.sentinel property (and fix polling loop in Process.join())

Charles-François Natali report at bugs.python.org
Fri May 13 19:09:58 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

Just a detail, but with the last version, select is retried with the full timeout (note that the signal you're the most likely to receive is SIGCHLD and since it's ignored by default it won't cause EINTR, so this shouldn't happen too often).
By the way, it's not the first time EINTR-issues pop up: would it be possible/worth it/interesting to expose this kind of wrapper somewhere (even as a private API), or a context manager ?

----------

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


More information about the Python-bugs-list mailing list