diff options
Diffstat (limited to 'Python/lock.c')
-rw-r--r-- | Python/lock.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Python/lock.c b/Python/lock.c index eb09019e0a2..a49d587a168 100644 --- a/Python/lock.c +++ b/Python/lock.c @@ -634,3 +634,11 @@ PyMutex_Unlock(PyMutex *m) Py_FatalError("unlocking mutex that is not locked"); } } + + +#undef PyMutex_IsLocked +int +PyMutex_IsLocked(PyMutex *m) +{ + return _PyMutex_IsLocked(m); +} |