高级调试器支持
These functions are only intended to be used by advanced debugging tools.
PyInterpreterState* PyInterpreterState_Head
()
Return the interpreter state object at the head of the list of all such objects.
PyInterpreterState* PyInterpreterState_Main
()
Return the main interpreter state object.
PyInterpreterState* PyInterpreterState_Next
(PyInterpreterState *interp)
Return the next interpreter state object after interp from the list of all such objects.
PyThreadState * PyInterpreterState_ThreadHead
(PyInterpreterState *interp)
Return the pointer to the first PyThreadState
object in the list of threads associated with the interpreter interp.
PyThreadState* PyThreadState_Next
(PyThreadState *tstate)
Return the next thread state object after tstate from the list of all such objects belonging to the same PyInterpreterState
object.