GIL cpu multi core usage problem

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Jun 13 13:31:18 EDT 2008


En Fri, 13 Jun 2008 08:55:30 -0300, Pau Freixes <pfreixes at gmail.com>  
escribió:

> When you say this "C extensions (usually) release the GIL when they don't
> call into any Python code" do you talk about this macros ?
>
> Py_BEGIN_ALLOW_THREADS
>
> Py_END_ALLOW_THREADS

Exactly.

-- 
Gabriel Genellina




More information about the Python-list mailing list