File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2215,7 +2215,7 @@ CPython C level APIs are similar to those offered by pthreads and Windows:
22152215use a thread key and functions to associate a :c:expr:`void*` value per
22162216thread.
22172217
2218- The GIL does *not* need to be held when calling these functions; they supply
2218+ A :term:`thread state` does *not* need to be active when calling these functions; they supply
22192219their own locking.
22202220
22212221Note that :file:`Python.h` does not include the declaration of the TLS APIs,
@@ -2385,7 +2385,7 @@ The C-API provides a basic mutual exclusion lock.
23852385
23862386 Lock mutex *m*. If another thread has already locked it, the calling
23872387 thread will block until the mutex is unlocked. While blocked, the thread
2388- will temporarily release the :term:`GIL ` if it is held .
2388+ will temporarily detach the current :term:`thread state ` if one is active .
23892389
23902390 .. versionadded:: 3.13
23912391
You can’t perform that action at this time.
0 commit comments