mirror of
https://github.com/python/cpython
synced 2026-09-28 03:33:18 +03:00
gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL (GH-118645)
This commit is contained in:
parent
3ed3bc379a
commit
417dd3aca7
19 changed files with 21 additions and 21 deletions
|
|
@ -1,5 +1,5 @@
|
|||
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 ``PyModule_ExperimentalSetGIL(mod, Py_MOD_GIL_NOT_USED)`` from
|
||||
modules call ``PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED)`` from
|
||||
their init function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue