Searched refs:keymutex (Results 1 – 2 of 2) sorted by relevance
236 static PyThread_type_lock keymutex = NULL; variable266 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()[all …]
183 static PyThread_type_lock keymutex = NULL; variable213 if (!keymutex) in find_key()215 PyThread_acquire_lock(keymutex, 1); in find_key()246 PyThread_release_lock(keymutex); in find_key()260 if (keymutex == NULL) in PyThread_create_key()261 keymutex = PyThread_allocate_lock(); in PyThread_create_key()271 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key()282 PyThread_release_lock(keymutex); in PyThread_delete_key()318 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key_value()330 PyThread_release_lock(keymutex); in PyThread_delete_key_value()[all …]