PyThreadState

_

Members

Variables

async_exc
PyObject* async_exc;

Asynchronous exception to raise

c_profilefunc
Py_tracefunc c_profilefunc;

_

c_profileobj
PyObject* c_profileobj;

_

c_tracefunc
Py_tracefunc c_tracefunc;

_

c_traceobj
PyObject* c_traceobj;

_

curexc_traceback
PyObject* curexc_traceback;

_

curexc_type
PyObject* curexc_type;

_

curexc_value
PyObject* curexc_value;

_

dict
PyObject* dict;

_

exc_traceback
PyObject* exc_traceback;

_

exc_type
PyObject* exc_type;

_

exc_value
PyObject* exc_value;

_

frame
PyFrameObject* frame;

_

gilstate_counter
int gilstate_counter;

_

interp
PyInterpreterState* interp;

_

next
PyThreadState* next;

_

on_delete
void function(void*) on_delete;

Availability: >= 3.4

on_delete_data
void* on_delete_data;

Availability: >= 3.4

overflowed
ubyte overflowed;

The stack has overflowed. Allow 50 more calls to handle the runtime error. */ /// Availability: 3.

prev
PyThreadState* prev;

Availability: >= 3.4

recursion_critical
ubyte recursion_critical;

The current calls must not cause a stack overflow. */ /// Availability: 3.

recursion_depth
int recursion_depth;

_

thread_id
C_long thread_id;

Thread id where this tstate was created

tick_counter
int tick_counter;

tick_counter is incremented whenever the check_interval ticker * reaches zero. The purpose is to give a useful measure of the number * of interpreted bytecode instructions in a given thread. This * extremely lightweight statistic collector may be of interest to * profilers (like psyco.jit()), although nothing in the core uses it. */ /// Availability: < 3.

tracing
int tracing;

_

trash_delete_later
PyObject* trash_delete_later;

Availability: >= 3.3

trash_delete_nesting
int trash_delete_nesting;

Availability: >= 3.3

use_tracing
int use_tracing;

_

Meta