Searched refs:tables_lock (Results 1 – 2 of 2) sorted by relevance
58 static PyThread_type_lock tables_lock; variable59 # define TABLES_LOCK() PyThread_acquire_lock(tables_lock, 1)60 # define TABLES_UNLOCK() PyThread_release_lock(tables_lock)982 if (tables_lock == NULL) { in tracemalloc_init()983 tables_lock = PyThread_allocate_lock(); in tracemalloc_init()984 if (tables_lock == NULL) { in tracemalloc_init()1049 if (tables_lock != NULL) { in tracemalloc_deinit()1050 PyThread_free_lock(tables_lock); in tracemalloc_deinit()1051 tables_lock = NULL; in tracemalloc_deinit()
102 tables_lock