[issue19850] asyncio: limit EINTR occurrences with SA_RESTART
Gregory P. Smith
report at bugs.python.org
Mon Dec 2 22:46:16 CET 2013
Gregory P. Smith added the comment:
>
> I believe that the libc and the kernel knows better than Python how to
> restart a syscalls, than Python. I expect more reliable timeout, or
> the kernel may avoid context switches (don't wake up the process).
>
See the man page i linked to, calls like select and poll with timeouts are
not auto-restarted.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19850>
_______________________________________
More information about the Python-bugs-list
mailing list