[Python-Dev] Release or not release the GIL

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 1 23:04:43 CET 2013


Charles-François Natali wrote:
> Anyway, only dup2() should probably release the GIL.

Depending on how your kernel is implemented, both pipe()
and socketpair() could create file system entries, and
therefore could block, although probably only for a
very short time.

-- 
Greg


More information about the Python-Dev mailing list