Lines Matching refs:PyThreadState
49 PyThreadState *_PyThreadState_Current = NULL;
53 static void _PyGILState_NoteThreadState(PyThreadState* tstate);
101 PyThreadState *p; in PyInterpreterState_Clear()
119 PyThreadState *p; in zapthreads()
151 threadstate_getframe(PyThreadState *self) in threadstate_getframe()
156 static PyThreadState *
159 PyThreadState *tstate = (PyThreadState *)malloc(sizeof(PyThreadState)); in new_threadstate()
210 PyThreadState *
216 PyThreadState *
223 _PyThreadState_Init(PyThreadState *tstate) in _PyThreadState_Init()
231 PyThreadState_Clear(PyThreadState *tstate) in PyThreadState_Clear()
259 tstate_delete_common(PyThreadState *tstate) in tstate_delete_common()
262 PyThreadState **p; in tstate_delete_common()
263 PyThreadState *prev_p = NULL; in tstate_delete_common()
297 PyThreadState_Delete(PyThreadState *tstate) in PyThreadState_Delete()
313 PyThreadState *tstate = _PyThreadState_Current; in PyThreadState_DeleteCurrent()
326 PyThreadState *
336 PyThreadState *
337 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap()
339 PyThreadState *oldts = _PyThreadState_Current; in PyThreadState_Swap()
352 PyThreadState *check = PyGILState_GetThisThreadState(); in PyThreadState_Swap()
393 PyThreadState *tstate = PyThreadState_GET(); in PyThreadState_SetAsyncExc()
395 PyThreadState *p; in PyThreadState_SetAsyncExc()
440 PyThreadState *
445 PyThreadState *
446 PyThreadState_Next(PyThreadState *tstate) { in PyThreadState_Next()
473 PyThreadState *t; in _PyThread_CurrentFrames()
510 PyThreadState_IsCurrent(PyThreadState *tstate) in PyThreadState_IsCurrent()
524 _PyGILState_Init(PyInterpreterState *i, PyThreadState *t) in _PyGILState_Init()
548 _PyGILState_NoteThreadState(PyThreadState* tstate) in _PyGILState_NoteThreadState()
578 PyThreadState *
583 return (PyThreadState *)PyThread_get_key_value(autoTLSkey); in PyGILState_GetThisThreadState()
590 PyThreadState *tcur; in PyGILState_Ensure()
599 tcur = (PyThreadState *)PyThread_get_key_value(autoTLSkey); in PyGILState_Ensure()
640 PyThreadState *tcur = (PyThreadState *)PyThread_get_key_value( in PyGILState_Release()