[Python-ideas] An alternate approach to async IO
Richard Oudkerk
shibturn at gmail.com
Wed Nov 28 23:52:49 CET 2012
On 28/11/2012 10:40pm, Trent Nelson wrote:
> And compare that with the ultimate performance killer of a single
> thread that periodically calls GetQueuedCompletionStatus when it's
> ready to process some IO, and you can see how strange it would seem
> to take that approach. You're getting all the complexity of IOCP
> and overlapped IO with absolutely none of the benefits.
BTW, GetQueuedCompletionStatusEx() lets you dequeue an array of messages
instead of working one at a time.
--
Richard
More information about the Python-ideas
mailing list