Skip to content

Commit 7fe42f4

Browse files
committed
Clarify the functions are no-ops in GIL builds
1 parent d93282d commit 7fe42f4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/c-api/synchronization.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ are not available.
220220
To be used only as in the macro expansions
221221
listed :ref:`earlier in this section <critical-section-macros>`.
222222
223+
In non-:term:`free-threaded <free threading>` builds of CPython, these
224+
functions do nothing.
225+
223226
.. versionadded:: 3.13
224227
225228
.. c:type:: PyCriticalSection
@@ -240,6 +243,9 @@ are not available.
240243
To be used only as in the macro expansions
241244
listed :ref:`earlier in this section <critical-section-macros>`.
242245
246+
In non-:term:`free-threaded <free threading>` builds of CPython, these
247+
functions do nothing.
248+
243249
.. versionadded:: 3.14
244250
245251

0 commit comments

Comments
 (0)