Home
last modified time | relevance | path

Searched refs:interp_head (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dpystate.c47 static PyInterpreterState *interp_head = NULL; variable
89 interp->next = interp_head; in PyInterpreterState_New()
90 interp_head = interp; in PyInterpreterState_New()
134 for (p = &interp_head; ; p = &(*p)->next) { in PyInterpreterState_Delete()
432 return interp_head; in PyInterpreterState_Head()
472 for (i = interp_head; i != NULL; i = i->next) { in _PyThread_CurrentFrames()
/external/python/cpython3/Python/
Dpystate.c57 static PyInterpreterState *interp_head = NULL; variable
104 interp->next = interp_head; in PyInterpreterState_New()
105 interp_head = interp; in PyInterpreterState_New()
152 for (p = &interp_head; ; p = &(*p)->next) { in PyInterpreterState_Delete()
165 if (interp_head == NULL && head_mutex != NULL) { in PyInterpreterState_Delete()
623 return interp_head; in PyInterpreterState_Head()
663 for (i = interp_head; i != NULL; i = i->next) { in _PyThread_CurrentFrames()