Home
last modified time | relevance | path

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

/aosp_15_r20/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()
/aosp_15_r20/external/python/cpython3/Python/
Dpystate.c1512 PyThreadState_IsCurrent(PyThreadState *tstate) in PyThreadState_IsCurrent() function
1704 current = PyThreadState_IsCurrent(tcur); in PyGILState_Ensure()
1736 if (!PyThreadState_IsCurrent(tstate)) { in PyGILState_Release()
1741 assert(PyThreadState_IsCurrent(tstate)); in PyGILState_Release()