classification
Title: Implementing Solaris "poll" in the "select" module
Type: feature request Stage: needs patch
Components: Library (Lib) Versions: Python 3.2, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: jcea Nosy List: exarkun, jcea (2)
Priority: Keywords

Created on 2009-07-01 16:49 by jcea, last changed 2009-07-01 17:23 by exarkun.

Messages (2)
msg89989 - (view) Author: Jesús Cea Avión (jcea) Date: 2009-07-01 16:49
In Python 2.6 we added support for Linux "epoll" and *BSD "kqueue" in
the select module. I think we should add support for Solaris "poll"
interface too.

What do you think?.

I volunteer to do the work, if you agree this is a feature we want to
have. I think so.
msg89991 - (view) Author: Jean-Paul Calderone (exarkun) Date: 2009-07-01 17:23
Solaris 10 introduced "The Event Completion Framework".  I am not
particularly familiar with Solaris, so I couldn't say whether it would
be better to target this or the older /dev/poll.  Some documentation
suggests that "The Event Completion Framework" is somewhat preferred:

http://developers.sun.com/solaris/articles/event_completion.html

It suggests that /dev/poll is not as performant, but I'm not sure I
believe it.  One feature which it does seem to have which puts it ahead
of /dev/poll is the support of various non-fd event sources (eg, timers).
History
Date User Action Args
2009-07-01 17:23:59exarkunsetnosy: + exarkun
messages: + msg89991
2009-07-01 16:49:13jceacreate