diff options
Diffstat (limited to 'Python/critical_section.c')
-rw-r--r-- | Python/critical_section.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/critical_section.c b/Python/critical_section.c index 2214d80..ac679ac 100644 --- a/Python/critical_section.c +++ b/Python/critical_section.c @@ -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; } |