Lines Matching refs:GIL
344 single: GIL
351 interpreter lock` or :term:`GIL`, that must be held by the current thread before
360 :term:`GIL` may operate on Python objects or call Python/C API functions.
375 Releasing the GIL from extension code
378 Most extension code manipulating the :term:`GIL` has the following simple
424 the GIL, but it can also be useful before calling long-running computations
427 standard :mod:`zlib` and :mod:`hashlib` modules release the GIL when
440 management), they don't hold the GIL, nor is there a thread state structure
446 creating a thread state data structure, then acquiring the GIL, and finally
449 the GIL, and finally free the thread state data structure.
538 When only the main thread exists, no GIL operations are needed. This is a
558 function can be called without holding the GIL, and therefore can be used to
626 When the function returns, the current thread will hold the GIL and be able
755 must write your own C extension to call this. Must be called with the GIL held.