[Python-ideas] The async API of the future
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Nov 3 00:54:34 CET 2012
Sturla Molden wrote:
> Windows certainly has a function to select among multiple wait objects,
> called WaitForMultipleObjects.
>
> Then the problem is polling for "ready-to-read" and "ready-to-write". The
> annoying part is that different types of files (disk files, sockets, pipes,
> named pipes, hardware devices) must be polled with different Windows API
> calls
I don't follow. Isn't the point of WaitForMultipleObjects that you
can make a single call that blocks until any kind of object is
ready?
--
Greg
More information about the Python-ideas
mailing list