socket.recvfrom() & sendto()
Fredrik Lundh
fredrik at pythonware.com
Wed May 9 10:53:31 EDT 2001
Grant Edwards wrote:
>
> >It is never "stalled" at a select(); asyncore uses non-blocking
> >sockets. select() returns immediately with lists of those sockets
> >which are ready to write and those sockets which are ready to read.
>
> So it's in a busy-wait loop burning CPU time when there's
> nothing to do? That's just plain evil...
what makes you think any operating system would implement
select in that way?
Cheers /F
More information about the Python-list
mailing list