Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 304 Bytes

2024-03-12-13-51-09.gh-issue-116322.q8TcDQ.rst

File metadata and controls

5 lines (5 loc) · 304 Bytes

Extension modules may indicate to the runtime that they can run without the GIL. Multi-phase init modules do so by calling providing Py_MOD_GIL_NOT_USED for the Py_mod_gil slot, while single-phase init modules call PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED) from their init function.