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.c161 #define HEAD_LOCK(runtime) \ macro
235 HEAD_LOCK(runtime); in PyInterpreterState_New()
288 HEAD_LOCK(runtime); in PyInterpreterState_Clear()
346 HEAD_LOCK(runtime); in PyInterpreterState_Delete()
391 HEAD_LOCK(runtime); in _PyInterpreterState_DeleteExceptMain()
467 HEAD_LOCK(runtime); in _PyInterpreterState_LookUpID()
622 HEAD_LOCK(runtime); in new_threadstate()
846 HEAD_LOCK(runtime); in tstate_delete_common()
919 HEAD_LOCK(runtime); in _PyThreadState_DeleteExcept()
1073 HEAD_LOCK(runtime); in PyThreadState_SetAsyncExc()
[all …]