Lines Matching defs:tstate
1833 PyThreadState *tstate = PyInterpreterState_ThreadHead(interp);
1834 if (PyThreadState_Next(tstate) != NULL) {
1841 _PyInterpreterFrame *frame = tstate->cframe->current_frame;
1938 PyThreadState *tstate = PyInterpreterState_ThreadHead(interp);
1940 save_tstate = PyThreadState_Swap(tstate);
2007 PyThreadState *tstate = _Py_NewInterpreter(isolated);
2009 if (tstate == NULL) {
2016 PyInterpreterState *interp = PyThreadState_GetInterpreter(tstate);
2020 save_tstate = PyThreadState_Swap(tstate);
2021 Py_EndInterpreter(tstate);
2071 PyThreadState *tstate = PyInterpreterState_ThreadHead(interp);
2073 PyThreadState *save_tstate = PyThreadState_Swap(tstate);
2074 Py_EndInterpreter(tstate);