Lines Matching full:keymutex
167 * associations. File static keyhead heads the list. keymutex is used
183 static PyThread_type_lock keymutex = NULL;
198 * Caution: this used to be too clever, trying to hold keymutex only
213 if (!keymutex)
215 PyThread_acquire_lock(keymutex, 1);
246 PyThread_release_lock(keymutex);
260 if (keymutex == NULL)
261 keymutex = PyThread_allocate_lock();
271 PyThread_acquire_lock(keymutex, 1);
282 PyThread_release_lock(keymutex);
318 PyThread_acquire_lock(keymutex, 1);
330 PyThread_release_lock(keymutex);
344 if (!keymutex)
349 keymutex = PyThread_allocate_lock();