using python interpreters per thread in C++ program

Grant Edwards grante at visi.com
Mon Sep 7 21:31:39 EDT 2009


On 2009-09-07, Mark Hammond <skippy.hammond at gmail.com> wrote:

> Sorry, my mistake, I misread the original - using multiple
> Python processes does indeed have a GIL per process.  I was
> referring to the 'multiple interpreters in one process'
> feature of Python which is largely deprecated, but if used,
> all 'interpreters' share the same GIL.

Oh yea, i had forgotten you could do that.  I can see how one
could have interpretted the "multiple instances" references to
mean multiple interpreter instances within a process.

-- 
Grant




More information about the Python-list mailing list