mirror of
https://github.com/python/cpython.git
synced 2025-11-10 02:21:40 +00:00
[3.13] gh-117511: Make PyMutex public in the non-limited API (GH-117731) (#120800)
(cherry picked from commit 3af7263037)
This commit is contained in:
parent
7c7aa5a99c
commit
3cb6c4cd60
18 changed files with 185 additions and 110 deletions
|
|
@ -14,7 +14,7 @@ _PyCriticalSection_BeginSlow(_PyCriticalSection *c, PyMutex *m)
|
|||
c->prev = (uintptr_t)tstate->critical_section;
|
||||
tstate->critical_section = (uintptr_t)c;
|
||||
|
||||
_PyMutex_LockSlow(m);
|
||||
PyMutex_Lock(m);
|
||||
c->mutex = m;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue