[issue6397] Implementing Solaris "/dev/poll" in the "select" module

Ross Lagerwall report at bugs.python.org
Wed Nov 9 17:52:12 CET 2011


Ross Lagerwall <rosslagerwall at gmail.com> added the comment:

Is write()ing a devpoll fd a blocking operation in the kernel?
Does it need to have Py_BEGIN_ALLOW_THREADS around it?
The same question applies for open()ing it.

Obviously, the ioctl() call *is* blocking :-)

----------

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


More information about the Python-bugs-list mailing list