POLL in different OSes
lucio at movilogic.com
Tue Oct 23 17:52:28 CEST 2001
At 10:18 AM 23/10/2001 +0200, Gerhard Häring wrote:
>On Mon, Oct 22, 2001 at 10:51:02PM -0300, Lucio Torre wrote:
> > From the documentation:
> > "The poll() system call, supported on most Unix systems"
> > and my questions:
> > a) is poll supported on Windows?
> > my guess is no, but i hoping for a yes.
>It isn't. Unless, you're using Cygwin. Also, select only works with
>sockets on Windows.
>Wouldn't it be possible to emulate poll() with select()? I'd be glad to
>see a patch appear at Sourceforge if that's possible :-)
i think i could do that. i can make a .c with the code that amulates poll
from select, if someone else is willing to make it a patch or whatever it
should be to get into python.
btw: is it worth it? poll is supposed to be faster, so why emulate it? it
would have no reason to exist!
More information about the Python-list