Searched refs:tracemalloc_reentrant_key (Results 1 – 2 of 2) sorted by relevance
170 static Py_tss_t tracemalloc_reentrant_key = Py_tss_NEEDS_INIT; variable180 assert(PyThread_tss_is_created(&tracemalloc_reentrant_key)); in get_reentrant()181 ptr = PyThread_tss_get(&tracemalloc_reentrant_key); in get_reentrant()194 assert(PyThread_tss_is_created(&tracemalloc_reentrant_key)); in set_reentrant()198 PyThread_tss_set(&tracemalloc_reentrant_key, REENTRANT); in set_reentrant()202 PyThread_tss_set(&tracemalloc_reentrant_key, NULL); in set_reentrant()971 if (PyThread_tss_create(&tracemalloc_reentrant_key) != 0) { in tracemalloc_init()1056 PyThread_tss_delete(&tracemalloc_reentrant_key); in tracemalloc_deinit()
107 tracemalloc_reentrant_key