21 Apr
2020
21 Apr
'20
8:10 a.m.
On Tue, 21 Apr 2020 19:45:02 +1200 Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
On 21/04/20 11:24 am, Edwin Zimmerman wrote:
Socket connections could be passed off from the main interpreter to sub-interpreters for concurrent processing that simply isn't possible with the global GIL
I would need convincing that the processing involved things that are truly held up by the GIL, rather than things like blocking I/O calls that can release the GIL.
In many realistic situations, it will be a mix of both. For example, parsing HTTP headers isn't trivial and will consume CPU time with the GIL taken, if written in pure Python. Regards Antoine.