mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Docs: Add central references to free-threading-related options (#119017)
This commit is contained in:
parent
6e9863d7a3
commit
9fa206aaec
4 changed files with 8 additions and 6 deletions
|
|
@ -622,7 +622,8 @@ Miscellaneous options
|
|||
|
||||
* :samp:`-X gil={0,1}` forces the GIL to be disabled or enabled,
|
||||
respectively. Only available in builds configured with
|
||||
:option:`--disable-gil`. See also :envvar:`PYTHON_GIL`.
|
||||
:option:`--disable-gil`. See also :envvar:`PYTHON_GIL` and
|
||||
:ref:`free-threaded-cpython`.
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
|
|
@ -1212,7 +1213,7 @@ conflict.
|
|||
forced on. Setting it to ``0`` forces the GIL off.
|
||||
|
||||
See also the :option:`-X gil <-X>` command-line option, which takes
|
||||
precedence over this variable.
|
||||
precedence over this variable, and :ref:`free-threaded-cpython`.
|
||||
|
||||
Needs Python configured with the :option:`--disable-gil` build option.
|
||||
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@ General Options
|
|||
Defines the ``Py_GIL_DISABLED`` macro and adds ``"t"`` to
|
||||
:data:`sys.abiflags`.
|
||||
|
||||
See :pep:`703` "Making the Global Interpreter Lock Optional in CPython".
|
||||
See :ref:`free-threaded-cpython` for more detail.
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue