Python and GIL
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Thu May 30 15:41:07 EDT 2013
On Thu, 30 May 2013 18:14:36 +0000, Ana Marija Sokovic wrote:
> Hi,
>
> Can somebody explain to me how would you proceed in releasing the GIL
> and whether you think it will have consequences?
In pure Python code, you don't need to worry about the GIL, and in fact
you cannot control it. Python controls it.
You only need to release the GIL when writing C extensions.
--
Steven
More information about the Python-list
mailing list