Home
last modified time | relevance | path

Searched refs:HEAD_LOCK (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dpystate.c33 #define HEAD_LOCK() PyThread_acquire_lock(head_mutex, WAIT_LOCK) macro
43 #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()
/external/python/cpython3/Python/
Dpystate.c91 #define HEAD_LOCK() PyThread_acquire_lock(_PyRuntime.interpreters.mutex, \ macro
169 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()