Skip to content

Commit 38ed1e2

Browse files
committed
Document Py_CAN_START_THREADS
1 parent 0389e16 commit 38ed1e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/c-api/intro.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,13 @@ complete listing.
219219

220220
.. versionadded:: 3.11
221221

222+
.. c:macro:: Py_CAN_START_THREADS
223+
224+
If this macro is defined, then the current system is able to start threads.
225+
226+
Currently, all systems supported by CPython (per :pep:`11`), with the
227+
exception of some WebAssembly platforms, support starting threads.
228+
222229
.. c:macro:: Py_CHARMASK(c)
223230
224231
Argument must be a character or an integer in the range [-128, 127] or [0,

0 commit comments

Comments
 (0)