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
609 current = PyThreadState_IsCurrent(tcur); in PyGILState_Ensure()
634 if (! PyThreadState_IsCurrent(tcur)) in PyGILState_Release()
636 assert(PyThreadState_IsCurrent(tcur)); in PyGILState_Release()
/external/python/cpython3/Python/
Dpystate.c701 PyThreadState_IsCurrent(PyThreadState *tstate) in PyThreadState_IsCurrent() function
847 current = PyThreadState_IsCurrent(tcur); in PyGILState_Ensure()
872 if (! PyThreadState_IsCurrent(tcur)) in PyGILState_Release()
874 assert(PyThreadState_IsCurrent(tcur)); in PyGILState_Release()