Home
last modified time | relevance | path

Searched refs:tstate_head (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Python/
Dpystate.c73 interp->tstate_head = NULL; in PyInterpreterState_New()
103 for (p = interp->tstate_head; p != NULL; p = p->next) in PyInterpreterState_Clear()
122 while ((p = interp->tstate_head) != NULL) { in zapthreads()
141 if (interp->tstate_head != NULL) in PyInterpreterState_Delete()
202 tstate->next = interp->tstate_head; in new_threadstate()
203 interp->tstate_head = tstate; in new_threadstate()
270 for (p = &interp->tstate_head; ; p = &(*p)->next) { in tstate_delete_common()
285 if ((*p)->next == interp->tstate_head) in tstate_delete_common()
404 for (p = interp->tstate_head; p != NULL; p = p->next) { in PyThreadState_SetAsyncExc()
442 return interp->tstate_head; in PyInterpreterState_ThreadHead()
[all …]
Dpythonrun.c669 if (tstate != interp->tstate_head || tstate->next != NULL) in Py_EndInterpreter()
/external/python/cpython3/Python/
Dpystate.c139 interp->tstate_head = NULL; in PyInterpreterState_New()
198 for (p = interp->tstate_head; p != NULL; p = p->next) in PyInterpreterState_Clear()
227 while ((p = interp->tstate_head) != NULL) { in zapthreads()
246 if (interp->tstate_head != NULL) in PyInterpreterState_Delete()
417 tstate->next = interp->tstate_head; in new_threadstate()
420 interp->tstate_head = tstate; in new_threadstate()
617 interp->tstate_head = tstate->next; in tstate_delete_common()
676 garbage = interp->tstate_head; in _PyThreadState_DeleteExcept()
684 interp->tstate_head = tstate; in _PyThreadState_DeleteExcept()
784 for (p = interp->tstate_head; p != NULL; p = p->next) { in PyThreadState_SetAsyncExc()
[all …]
Dpylifecycle.c1547 if (tstate != interp->tstate_head || tstate->next != NULL) in Py_EndInterpreter()
/external/python/cpython2/Include/
Dpystate.h19 struct _ts *tstate_head; member
/external/python/cpython3/Include/
Dpystate.h116 struct _ts *tstate_head; member