Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dpystate.c510 PyThreadState_IsCurrent(PyThreadState *tstate) in PyThreadState_IsCurrent() function
613 current = PyThreadState_IsCurrent(tcur); in PyGILState_Ensure()
650 if (! PyThreadState_IsCurrent(tcur)) in PyGILState_Release()
652 assert(PyThreadState_IsCurrent(tcur)); in PyGILState_Release()
/external/python/cpython3/Python/
Dpystate.c896 PyThreadState_IsCurrent(PyThreadState *tstate) in PyThreadState_IsCurrent() function
1063 current = PyThreadState_IsCurrent(tcur); in PyGILState_Ensure()
1100 if (! PyThreadState_IsCurrent(tcur)) in PyGILState_Release()
1102 assert(PyThreadState_IsCurrent(tcur)); in PyGILState_Release()