Searched refs:HEAD_LOCK (Results 1 – 2 of 2) sorted by relevance
33 #define HEAD_LOCK() PyThread_acquire_lock(head_mutex, WAIT_LOCK) macro43 #define HEAD_LOCK() /* Nothing */88 HEAD_LOCK(); in PyInterpreterState_New()102 HEAD_LOCK(); in PyInterpreterState_Clear()133 HEAD_LOCK(); in PyInterpreterState_Delete()201 HEAD_LOCK(); in new_threadstate()269 HEAD_LOCK(); in tstate_delete_common()403 HEAD_LOCK(); in PyThreadState_SetAsyncExc()471 HEAD_LOCK(); in _PyThread_CurrentFrames()
91 #define HEAD_LOCK() PyThread_acquire_lock(_PyRuntime.interpreters.mutex, \ macro169 HEAD_LOCK(); in PyInterpreterState_New()197 HEAD_LOCK(); in PyInterpreterState_Clear()238 HEAD_LOCK(); in PyInterpreterState_Delete()415 HEAD_LOCK(); in new_threadstate()613 HEAD_LOCK(); in tstate_delete_common()672 HEAD_LOCK(); in _PyThreadState_DeleteExcept()783 HEAD_LOCK(); in PyThreadState_SetAsyncExc()858 HEAD_LOCK(); in _PyThread_CurrentFrames()