using python interpreters per thread in C++ program

Grant Edwards grante at
Tue Sep 8 01:16:24 CEST 2009

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

>> CPython's GIL means that multithreading on multiple
>> processors/cores has limitations. Each interpreter has its own
>> GIL, so processor-intensive applications work better using the
>> multiprocessing module than with the threading module.
> I believe you will find the above is incorrect - even with
> multiple interpreter states you still have a single GIL.

Please explain how multiple processes, each with a separate
Python interpreter, share a single GIL.


More information about the Python-list mailing list