[issue12040] Expose a Process.sentinel property (and fix polling loop in Process.join())
Antoine Pitrou
report at bugs.python.org
Mon May 16 15:51:59 CEST 2011
Antoine Pitrou <pitrou 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).
Indeed, it is. In practice we don't see anyone complaining about EINTR
issues, so I guess it's quite rare anyway.
> 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 ?
Yes, but where?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12040>
_______________________________________
More information about the Python-bugs-list
mailing list