Lines Matching refs:tstate_head
297 for (PyThreadState *p = interp->tstate_head; p != NULL; p = p->next) { in interpreter_clear()
371 while ((tstate = interp->tstate_head) != NULL) { in zapthreads()
399 if (interp->tstate_head != NULL) { in PyInterpreterState_Delete()
672 tstate->next = interp->tstate_head; in new_threadstate()
675 interp->tstate_head = tstate; in new_threadstate()
898 interp->tstate_head = tstate->next; in tstate_delete_common()
970 PyThreadState *list = interp->tstate_head; in _PyThreadState_DeleteExcept()
981 interp->tstate_head = tstate; in _PyThreadState_DeleteExcept()
1136 for (PyThreadState *tstate = interp->tstate_head; tstate != NULL; tstate = tstate->next) { in PyThreadState_SetAsyncExc()
1184 return interp->tstate_head; in PyInterpreterState_ThreadHead()
1221 for (t = i->tstate_head; t != NULL; t = t->next) { in _PyThread_CurrentFrames()
1274 for (t = i->tstate_head; t != NULL; t = t->next) { in _PyThread_CurrentExceptions()