[Python-ideas] An alternate approach to async IO
Antoine Pitrou
solipsis at pitrou.net
Tue Nov 27 21:54:14 CET 2012
On Tue, 27 Nov 2012 15:19:46 -0500
Trent Nelson <trent at snakebite.org> 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.)
You don't need to acquire the GIL if you use the Py_buffer API in the
right way. You'll figure out the details :-)
Regards
Antoine.
More information about the Python-ideas
mailing list