History for Include/internal/pycore_lock.h - python/cpython · GitHub

github.com

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Tin mới

gh-145685: Remove `_PySeqLock` that is not used anymore (gh-155243)

gh-145685: Remove `_PySeqLock` that is not used anymore (gh-155243)

Add comments about _Py_LOCK_DONT_DETACH usage. (#153817)

Add comments about _Py_LOCK_DONT_DETACH usage. (#153817)

gh-120321: Make gi_yieldfrom thread-safe in free-threading build (#144292)

gh-120321: Make gi_yieldfrom thread-safe in free-threading build (#144292)

gh-136759: rename `lock.h` to `pylock.h` (#137041)

gh-136759: rename `lock.h` to `pylock.h` (#137041)

gh-134009: Expose `PyMutex_IsLocked` in the public C API (gh-134365)

gh-134009: Expose `PyMutex_IsLocked` in the public C API (gh-134365)

gh-87135: threading.Lock: Raise rather than hang on Python finalization (GH-135991)

gh-87135: threading.Lock: Raise rather than hang on Python finalization (GH-135991)

gh-134745: Change PyThread_allocate_lock() implementation to PyMutex (#134747)

gh-134745: Change PyThread_allocate_lock() implementation to PyMutex (#134747)

gh-128002: use per threads tasks linked list in asyncio (#128869)

gh-128002: use per threads tasks linked list in asyncio (#128869)

gh-128033: change `PyMutex_LockFast` to take `PyMutex` as argument (#128054)

gh-128033: change `PyMutex_LockFast` to take `PyMutex` as argument (#128054)

gh-125139: use `_PyRecursiveMutex` in `_thread.RLock` (#125144)

gh-125139: use `_PyRecursiveMutex` in `_thread.RLock` (#125144)

fix comment in _PyMutex_TryUnlock (#125319)

fix comment in _PyMutex_TryUnlock (#125319)

gh-121368: Fix seq lock memory ordering in _PyType_Lookup (#121388)

gh-121368: Fix seq lock memory ordering in _PyType_Lookup (#121388)

gh-112136: Restore removed _PyArg_Parser (#121262)

gh-112136: Restore removed _PyArg_Parser (#121262)

gh-117511: Make PyMutex public in the non-limited API (#117731)

gh-117511: Make PyMutex public in the non-limited API (#117731)

Fix typos in comments (#120188)

Fix typos in comments (#120188)

gh-117657: Fix TSAN race involving import lock (#118523)

gh-117657: Fix TSAN race involving import lock (#118523)

gh-118332: Fix deadlock involving stop the world (#118412)

gh-118332: Fix deadlock involving stop the world (#118412)

gh-114271: Fix race in `Thread.join()` (#114839)

gh-114271: Fix race in `Thread.join()` (#114839)

chore: fix typos (#116345)

chore: fix typos (#116345)

gh-114271: Make `_thread.ThreadHandle` thread-safe in free-threaded builds (GH-115190)

gh-114271: Make `_thread.ThreadHandle` thread-safe in free-threaded builds (GH-115190)

gh-115304: Add doc for initializing PyMutex as a global variable (#115305)

gh-115304: Add doc for initializing PyMutex as a global variable (#115305)

gh-110850: Cleanup pycore_time.h includes (#115724)

gh-110850: Cleanup pycore_time.h includes (#115724)

gh-110850: Replace _PyTime_t with PyTime_t (#115719)

gh-110850: Replace _PyTime_t with PyTime_t (#115719)

gh-113743: Make the MRO cache thread-safe in free-threaded builds (#113930)

gh-113743: Make the MRO cache thread-safe in free-threaded builds (#113930)

gh-111964: Add _PyRWMutex a "readers-writer" lock (gh-112859)

gh-111924: Use PyMutex for Runtime-global Locks. (gh-112207)

gh-111863: Rename `Py_NOGIL` to `Py_GIL_DISABLED` (#111864)

gh-111956: Add thread-safe one-time initialization. (gh-111960)

gh-111569: Implement Python critical section API (gh-111571)

gh-108724: Add PyMutex and _PyParkingLot APIs (gh-109344)