Lines Matching refs:keymutex
236 static PyThread_type_lock keymutex = NULL; variable
266 if (!keymutex) in find_key()
268 PyThread_acquire_lock(keymutex, 1); in find_key()
296 PyThread_release_lock(keymutex); in find_key()
310 if (keymutex == NULL) in PyThread_create_key()
311 keymutex = PyThread_allocate_lock(); in PyThread_create_key()
321 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key()
332 PyThread_release_lock(keymutex); in PyThread_delete_key()
375 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key_value()
387 PyThread_release_lock(keymutex); in PyThread_delete_key_value()
401 if (!keymutex) in PyThread_ReInitTLS()
406 keymutex = PyThread_allocate_lock(); in PyThread_ReInitTLS()