We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 955208d commit add31a7Copy full SHA for add31a7
Python/tracemalloc.c
@@ -36,7 +36,7 @@ static int _PyTraceMalloc_TraceRef(PyObject *op, PyRefTracerEvent event,
36
the GIL held from PyMem_RawFree(). It cannot acquire the lock because it
37
would introduce a deadlock in _PyThreadState_DeleteCurrent(). */
38
#define tables_lock _PyRuntime.tracemalloc.tables_lock
39
-#define TABLES_LOCK() PyMutex_LockFlags(&tables_lock, _PY_LOCK_DETACH)
+#define TABLES_LOCK() PyMutex_Lock(&tables_lock)
40
#define TABLES_UNLOCK() PyMutex_Unlock(&tables_lock)
41
42
0 commit comments