[Cython] 'with gil:' statement

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 16 23:28:46 CET 2011


mark florisson wrote:
> I just think it is important for users
> to realize that in general, they cannot unblock threads recursively.

I don't think that nested 'with nogil' blocks in any way
suggest that they can. Saying 'with nogil' means "I want
this code executed with the gil released". If it's
already released, the logical meaning is to do nothing
further.

-- 
Greg


More information about the cython-devel mailing list