Python/C API Reference Manual
Previous:
8.2 Profiling and Tracing
Up:
8. Initialization, Finalization, and
Next:
9. Memory Management
8.3 Advanced Debugger Support
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.
New in version 2.2.
PyInterpreterState*
PyInterpreterState_Next
(
PyInterpreterState *interp
)
Return the next interpreter state object after
interp
from the list of all such objects.
New in version 2.2.
PyThreadState *
PyInterpreterState_ThreadHead
(
PyInterpreterState *interp
)
Return the a pointer to the first
PyThreadState
object in the list of threads associated with the interpreter
interp
.
New in version 2.2.
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.
New in version 2.2.
Release 2.3a0, documentation updated on March 24, 2002.
See
About this document...
for information on suggesting changes.