[issue16105] Pass read only FD to signal.set_wakeup_fd

Felipe Cruz report at bugs.python.org
Thu Oct 4 04:14:57 CEST 2012


Felipe Cruz added the comment:

> Raising an error in case the signal can't be written to the FD
> (because the other end didn't drain the pipe/socket) seems reasonable.
> You should just retry on EINTR (although any sane implementation
> shouldn't return EINTR on non-blocking write, I don't think it's
> strictly prohibited by POSIX).

You mean retry one time or until success?

----------
Added file: http://bugs.python.org/file27406/issue16105_v2.patch

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


More information about the Python-bugs-list mailing list