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

Jesús Cea Avión report at bugs.python.org
Thu Oct 20 20:13:18 CEST 2011


Jesús Cea Avión <jcea at jcea.es> added the comment:

I want to move this forward.

Apparently, "/dev/poll" could be actually used transparently in python "select.poll()" implementation. The semantics seems to be the same, so we could use the "poll" syscall or "/dev/poll" statically at compiling time, or dinamically at poll object creation time (try to open /dev/poll and go to "poll" syscall if that fails).

Some details:

http://developers.sun.com/solaris/articles/using_devpoll.html
http://developers.sun.com/solaris/articles/polling_efficient.html

I agree that Solaris 10 event framework would be nice to support too, but that would be another feature request.

----------

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


More information about the Python-bugs-list mailing list