using python interpreters per thread in C++ program
Ulrich Eckhardt
eckhardt at satorlaser.com
Mon Sep 7 07:17:32 EDT 2009
ganesh wrote:
>> Did you remeber to acquire the GIL? The GIL is global to the process
>
> No, I did not use GIL.
>
> -- Why do we need to use GIL even though python is private to each
> thread?
Quoting from above: "The GIL is global to the process". So no, it is NOT
private to each thread which means "python" isn't either.
At least that is my understanding of the issue.
Uli
--
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
More information about the Python-list
mailing list