Lines Matching refs:keymutex
239 static PyThread_type_lock keymutex = NULL; variable
269 if (!keymutex) in find_key()
271 PyThread_acquire_lock(keymutex, 1); in find_key()
299 PyThread_release_lock(keymutex); in find_key()
313 if (keymutex == NULL) in PyThread_create_key()
314 keymutex = PyThread_allocate_lock(); in PyThread_create_key()
324 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key()
335 PyThread_release_lock(keymutex); in PyThread_delete_key()
378 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key_value()
390 PyThread_release_lock(keymutex); in PyThread_delete_key_value()
404 if (!keymutex) in PyThread_ReInitTLS()
409 keymutex = PyThread_allocate_lock(); in PyThread_ReInitTLS()