René's URL Explorer Experiment


Title: Synchronization primitives — Python 3.14.6 documentation

Open Graph Title: Synchronization primitives

Description: The C-API provides a basic mutual exclusion lock. Python critical section API: The critical section API provides a deadlock avoidance layer on top of per-object locks for free-threaded CPython. The...

Open Graph Description: The C-API provides a basic mutual exclusion lock. Python critical section API: The critical section API provides a deadlock avoidance layer on top of per-object locks for free-threaded CPython. The...

Opengraph URL: https://docs.python.org/3/c-api/synchronization.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.14/_images/social_previews/summary_c-api_synchronization_820f5c59.png
og:image:altThe C-API provides a basic mutual exclusion lock. Python critical section API: The critical section API provides a deadlock avoidance layer on top of per-object locks for free-threaded CPython. The...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/3/contents.html
Synchronization primitiveshttps://docs.python.org/3/c-api/synchronization.html
Python critical section APIhttps://docs.python.org/3/c-api/synchronization.html#python-critical-section-api
Legacy locking APIshttps://docs.python.org/3/c-api/synchronization.html#legacy-locking-apis
Thread states and the global interpreter lockhttps://docs.python.org/3/c-api/threads.html
Thread-local storage supporthttps://docs.python.org/3/c-api/tls.html
Report a bughttps://docs.python.org/3/bugs.html
Improve this pagehttps://docs.python.org/3/improve-page-nojs.html
Show source https://github.com/python/cpython/blob/main/Doc/c-api/synchronization.rst?plain=1
indexhttps://docs.python.org/3/genindex.html
moduleshttps://docs.python.org/3/py-modindex.html
nexthttps://docs.python.org/3/c-api/tls.html
previoushttps://docs.python.org/3/c-api/threads.html
Pythonhttps://www.python.org/
3.14.6 Documentationhttps://docs.python.org/3/index.html
Python/C API reference manualhttps://docs.python.org/3/c-api/index.html
Synchronization primitiveshttps://docs.python.org/3/c-api/synchronization.html
https://docs.python.org/3/c-api/synchronization.html#synchronization-primitives
https://docs.python.org/3/c-api/synchronization.html#c.PyMutex
PyMutexhttps://docs.python.org/3/c-api/synchronization.html#c.PyMutex
https://docs.python.org/3/c-api/synchronization.html#c.PyMutex_Lock
Atomichttps://docs.python.org/3/library/threadsafety.html#threadsafety-level-atomic
thread statehttps://docs.python.org/3/glossary.html#term-attached-thread-state
PyMutexhttps://docs.python.org/3/c-api/synchronization.html#c.PyMutex
https://docs.python.org/3/c-api/synchronization.html#c.PyMutex_Unlock
Atomichttps://docs.python.org/3/library/threadsafety.html#threadsafety-level-atomic
PyMutexhttps://docs.python.org/3/c-api/synchronization.html#c.PyMutex
https://docs.python.org/3/c-api/synchronization.html#c.PyMutex_IsLocked
Atomichttps://docs.python.org/3/library/threadsafety.html#threadsafety-level-atomic
https://docs.python.org/3/c-api/synchronization.html#python-critical-section-api
free-threadedhttps://docs.python.org/3/glossary.html#term-free-threading
global interpreter lockhttps://docs.python.org/3/glossary.html#term-global-interpreter-lock
listhttps://docs.python.org/3/library/stdtypes.html#list
dicthttps://docs.python.org/3/library/stdtypes.html#dict
PyDict_Next()https://docs.python.org/3/c-api/dict.html#c.PyDict_Next
PyMutexhttps://docs.python.org/3/c-api/synchronization.html#c.PyMutex
PyMutexhttps://docs.python.org/3/c-api/synchronization.html#c.PyMutex
PyObjecthttps://docs.python.org/3/c-api/structures.html#c.PyObject
Py_BEGIN_CRITICAL_SECTION2https://docs.python.org/3/c-api/synchronization.html#c.Py_BEGIN_CRITICAL_SECTION2
Py_SETREFhttps://docs.python.org/3/c-api/refcounting.html#c.Py_SETREF
Py_DECREFhttps://docs.python.org/3/c-api/refcounting.html#c.Py_DECREF
PyEval_SaveThread()https://docs.python.org/3/c-api/threads.html#c.PyEval_SaveThread
https://docs.python.org/3/c-api/synchronization.html#c.Py_BEGIN_CRITICAL_SECTION
https://docs.python.org/3/c-api/synchronization.html#c.Py_BEGIN_CRITICAL_SECTION_MUTEX
Py_BEGIN_CRITICAL_SECTIONhttps://docs.python.org/3/c-api/synchronization.html#c.Py_BEGIN_CRITICAL_SECTION
PyMutexhttps://docs.python.org/3/c-api/synchronization.html#c.PyMutex
https://docs.python.org/3/c-api/synchronization.html#c.Py_END_CRITICAL_SECTION
https://docs.python.org/3/c-api/synchronization.html#c.Py_BEGIN_CRITICAL_SECTION2
https://docs.python.org/3/c-api/synchronization.html#c.Py_BEGIN_CRITICAL_SECTION2_MUTEX
Py_BEGIN_CRITICAL_SECTION2https://docs.python.org/3/c-api/synchronization.html#c.Py_BEGIN_CRITICAL_SECTION2
PyMutexhttps://docs.python.org/3/c-api/synchronization.html#c.PyMutex
https://docs.python.org/3/c-api/synchronization.html#c.Py_END_CRITICAL_SECTION2
https://docs.python.org/3/c-api/synchronization.html#legacy-locking-apis
PyMutexhttps://docs.python.org/3/c-api/synchronization.html#c.PyMutex
https://docs.python.org/3/c-api/synchronization.html#c.PyThread_type_lock
https://docs.python.org/3/c-api/synchronization.html#c.PyLockStatus
https://docs.python.org/3/c-api/synchronization.html#c.PY_LOCK_FAILURE
https://docs.python.org/3/c-api/synchronization.html#c.PY_LOCK_ACQUIRED
https://docs.python.org/3/c-api/synchronization.html#c.PY_LOCK_INTR
PyThread_type_lockhttps://docs.python.org/3/c-api/synchronization.html#c.PyThread_type_lock
https://docs.python.org/3/c-api/synchronization.html#c.PyThread_allocate_lock
Stable ABIhttps://docs.python.org/3/c-api/stable.html#stable
attached thread statehttps://docs.python.org/3/glossary.html#term-attached-thread-state
PyThread_type_lockhttps://docs.python.org/3/c-api/synchronization.html#c.PyThread_type_lock
https://docs.python.org/3/c-api/synchronization.html#c.PyThread_free_lock
Stable ABIhttps://docs.python.org/3/c-api/stable.html#stable
attached thread statehttps://docs.python.org/3/glossary.html#term-attached-thread-state
PyLockStatushttps://docs.python.org/3/c-api/synchronization.html#c.PyLockStatus
PyThread_type_lockhttps://docs.python.org/3/c-api/synchronization.html#c.PyThread_type_lock
https://docs.python.org/3/c-api/synchronization.html#c.PyThread_acquire_lock_timed
Stable ABIhttps://docs.python.org/3/c-api/stable.html#stable
PY_LOCK_FAILUREhttps://docs.python.org/3/c-api/synchronization.html#c.PY_LOCK_FAILURE
PY_LOCK_INTRhttps://docs.python.org/3/c-api/synchronization.html#c.PY_LOCK_INTR
Py_MakePendingCalls()https://docs.python.org/3/c-api/threads.html#c.Py_MakePendingCalls
PY_LOCK_ACQUIREDhttps://docs.python.org/3/c-api/synchronization.html#c.PY_LOCK_ACQUIRED
attached thread statehttps://docs.python.org/3/glossary.html#term-attached-thread-state
PyThread_type_lockhttps://docs.python.org/3/c-api/synchronization.html#c.PyThread_type_lock
https://docs.python.org/3/c-api/synchronization.html#c.PyThread_acquire_lock
Stable ABIhttps://docs.python.org/3/c-api/stable.html#stable
PyThread_acquire_lock_timed()https://docs.python.org/3/c-api/synchronization.html#c.PyThread_acquire_lock_timed
attached thread statehttps://docs.python.org/3/glossary.html#term-attached-thread-state
PyThread_type_lockhttps://docs.python.org/3/c-api/synchronization.html#c.PyThread_type_lock
https://docs.python.org/3/c-api/synchronization.html#c.PyThread_release_lock
Stable ABIhttps://docs.python.org/3/c-api/stable.html#stable
attached thread statehttps://docs.python.org/3/glossary.html#term-attached-thread-state
Table of Contentshttps://docs.python.org/3/contents.html
Synchronization primitiveshttps://docs.python.org/3/c-api/synchronization.html
Python critical section APIhttps://docs.python.org/3/c-api/synchronization.html#python-critical-section-api
Legacy locking APIshttps://docs.python.org/3/c-api/synchronization.html#legacy-locking-apis
Thread states and the global interpreter lockhttps://docs.python.org/3/c-api/threads.html
Thread-local storage supporthttps://docs.python.org/3/c-api/tls.html
Report a bughttps://docs.python.org/3/bugs.html
Improve this pagehttps://docs.python.org/3/improve-page-nojs.html
Show source https://github.com/python/cpython/blob/main/Doc/c-api/synchronization.rst?plain=1
indexhttps://docs.python.org/3/genindex.html
moduleshttps://docs.python.org/3/py-modindex.html
nexthttps://docs.python.org/3/c-api/tls.html
previoushttps://docs.python.org/3/c-api/threads.html
Pythonhttps://www.python.org/
3.14.6 Documentationhttps://docs.python.org/3/index.html
Python/C API reference manualhttps://docs.python.org/3/c-api/index.html
Synchronization primitiveshttps://docs.python.org/3/c-api/synchronization.html
Copyrighthttps://docs.python.org/3/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.