Searched refs:tables_lock (Results 1 – 3 of 3) sorted by relevance
41 static PyThread_type_lock tables_lock; variable42 # define TABLES_LOCK() PyThread_acquire_lock(tables_lock, 1)43 # define TABLES_UNLOCK() PyThread_release_lock(tables_lock)881 if (tables_lock == NULL) { in tracemalloc_init()882 tables_lock = PyThread_allocate_lock(); in tracemalloc_init()883 if (tables_lock == NULL) { in tracemalloc_init()940 if (tables_lock != NULL) { in tracemalloc_deinit()941 PyThread_free_lock(tables_lock); in tracemalloc_deinit()942 tables_lock = NULL; in tracemalloc_deinit()
42 Modules/_tracemalloc.c:tables_lock static PyThread_type_lock tables_l…
2852 Modules/_tracemalloc.c - tables_lock -