Searched refs:PyThreadState_IsCurrent (Results 1 – 2 of 2) sorted by relevance
510 PyThreadState_IsCurrent(PyThreadState *tstate) in PyThreadState_IsCurrent() function609 current = PyThreadState_IsCurrent(tcur); in PyGILState_Ensure()634 if (! PyThreadState_IsCurrent(tcur)) in PyGILState_Release()636 assert(PyThreadState_IsCurrent(tcur)); in PyGILState_Release()
508 PyThreadState_IsCurrent(PyThreadState *tstate) in PyThreadState_IsCurrent() function624 current = PyThreadState_IsCurrent(tcur); in PyGILState_Ensure()649 if (! PyThreadState_IsCurrent(tcur)) in PyGILState_Release()651 assert(PyThreadState_IsCurrent(tcur)); in PyGILState_Release()