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.c43 #define HEAD_LOCK() PyThread_acquire_lock(head_mutex, WAIT_LOCK) macro
53 #define HEAD_LOCK() /* Nothing */ macro
103 HEAD_LOCK(); in PyInterpreterState_New()
117 HEAD_LOCK(); in PyInterpreterState_Clear()
151 HEAD_LOCK(); in PyInterpreterState_Delete()
235 HEAD_LOCK(); in new_threadstate()
426 HEAD_LOCK(); in tstate_delete_common()
483 HEAD_LOCK(); in _PyThreadState_DeleteExcept()
593 HEAD_LOCK(); in PyThreadState_SetAsyncExc()
662 HEAD_LOCK(); in _PyThread_CurrentFrames()