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.c660 if (tstate != interp->tstate_head || tstate->next != NULL) in Py_EndInterpreter()
/external/python/cpython3/Python/
Dpystate.c86 interp->tstate_head = NULL; in PyInterpreterState_New()
118 for (p = interp->tstate_head; p != NULL; p = p->next) in PyInterpreterState_Clear()
140 while ((p = interp->tstate_head) != NULL) { in zapthreads()
159 if (interp->tstate_head != NULL) in PyInterpreterState_Delete()
237 tstate->next = interp->tstate_head; in new_threadstate()
240 interp->tstate_head = tstate; in new_threadstate()
430 interp->tstate_head = tstate->next; in tstate_delete_common()
487 garbage = interp->tstate_head; in _PyThreadState_DeleteExcept()
495 interp->tstate_head = tstate; in _PyThreadState_DeleteExcept()
594 for (p = interp->tstate_head; p != NULL; p = p->next) { in PyThreadState_SetAsyncExc()
[all …]
Dpylifecycle.c882 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.h29 struct _ts *tstate_head; member