[Python-ideas] An alternate approach to async IO
shibturn at gmail.com
Tue Nov 27 22:42:33 CET 2012
On 27/11/2012 8:19pm, Trent Nelson wrote:
> Got it. So what about the "no processing that can be usefully done
> by a C level thread" bit? I'm trying to discern whether or not you're
> highlighting a fundamental flaw in the theory/idea;-)
> (That it's going to be more optimal to have background threads service
> IO without the need to acquire the GIL, basically.)
I mean that I don't understand what sort of "servicing" you expect the
background threads to do.
If you just mean consuming packets from GetQueuedCompletionStatus() and
pushing them on an interlocked stack then why bother?
More information about the Python-ideas