Message28613
Logged In: YES
user_id=1488997
That, of course, is the problem - select() is available more
or less universally, but poll() is not. However, it's not
terribly difficult to write a poll() wrapper using select(),
though doing so in general would have serious performance
issues (the specific uses in socketmodule.c do not hit this
problem), and retains the limitations of select.
It's not clear that the complexity of doing this is
worthwhile compared to just implementing the simple API
needed internally to socketmodule.c using both APIs (i.e.
just adding a poll() option).
Regardless, it'd be nice if at least the basic fix I wrote
up went in - it solves the immediate problem, at least. |
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:40:12 | admin | link | issue1494314 messages |
| 2007-08-23 14:40:12 | admin | create | |
|