[Python-ideas] The async API of the future
Richard Oudkerk
shibturn at gmail.com
Sun Oct 21 16:56:35 CEST 2012
On 20/10/2012 9:33am, Glyph wrote:
> ... Also, you can't translate it into one
> of those sources, because the message pump is associated with a
> particular thread; you can't call a function in a different thread to
> call PostQueuedCompletionStatus.
I thought that the whole point of completion ports was inter-thread
communication, and that PostQueuedCompletionStatus() is the equivalent
of Queue.put(). Why does the message pump's thread matter?
--
Richard
More information about the Python-ideas
mailing list