@Name(value="_ts") @Properties(inherit=python.class) public class PyThreadState extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PyThreadState()
Default native constructor.
|
PyThreadState(long size)
Native array allocator.
|
PyThreadState(Pointer p)
Pointer cast constructor.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public PyThreadState()
public PyThreadState(long size)
Pointer.position(long)
.public PyThreadState(Pointer p)
Pointer(Pointer)
.public PyThreadState position(long position)
public PyThreadState getPointer(long i)
getPointer
in class Pointer
public PyThreadState prev()
public PyThreadState prev(PyThreadState setter)
public PyThreadState next()
public PyThreadState next(PyThreadState setter)
public PyInterpreterState interp()
public PyThreadState interp(PyInterpreterState setter)
public PyThreadState eval_breaker(long setter)
@Name(value="_status.initialized") @Cast(value="unsigned int") @NoOffset public int _status_initialized()
public PyThreadState _status_initialized(int setter)
@Name(value="_status.bound") @Cast(value="unsigned int") @NoOffset public int _status_bound()
public PyThreadState _status_bound(int setter)
@Name(value="_status.unbound") @Cast(value="unsigned int") @NoOffset public int _status_unbound()
public PyThreadState _status_unbound(int setter)
@Name(value="_status.bound_gilstate") @Cast(value="unsigned int") @NoOffset public int _status_bound_gilstate()
public PyThreadState _status_bound_gilstate(int setter)
@Name(value="_status.active") @Cast(value="unsigned int") @NoOffset public int _status_active()
public PyThreadState _status_active(int setter)
@Name(value="_status.holds_gil") @Cast(value="unsigned int") @NoOffset public int _status_holds_gil()
public PyThreadState _status_holds_gil(int setter)
@Name(value="_status.finalizing") @Cast(value="unsigned int") @NoOffset public int _status_finalizing()
public PyThreadState _status_finalizing(int setter)
@Name(value="_status.cleared") @Cast(value="unsigned int") @NoOffset public int _status_cleared()
public PyThreadState _status_cleared(int setter)
@Name(value="_status.finalized") @Cast(value="unsigned int") @NoOffset public int _status_finalized()
public PyThreadState _status_finalized(int setter)
public int _whence()
public PyThreadState _whence(int setter)
public int state()
public PyThreadState state(int setter)
public int py_recursion_remaining()
public PyThreadState py_recursion_remaining(int setter)
public int py_recursion_limit()
public PyThreadState py_recursion_limit(int setter)
public int c_recursion_remaining()
public PyThreadState c_recursion_remaining(int setter)
public int recursion_headroom()
public PyThreadState recursion_headroom(int setter)
public int tracing()
public PyThreadState tracing(int setter)
public int what_event()
public PyThreadState what_event(int setter)
public PyThreadState current_frame(Pointer setter)
public Py_tracefunc c_profilefunc()
public PyThreadState c_profilefunc(Py_tracefunc setter)
public Py_tracefunc c_tracefunc()
public PyThreadState c_tracefunc(Py_tracefunc setter)
public PyObject c_profileobj()
public PyThreadState c_profileobj(PyObject setter)
public PyObject c_traceobj()
public PyThreadState c_traceobj(PyObject setter)
public PyObject current_exception()
public PyThreadState current_exception(PyObject setter)
public _PyErr_StackItem exc_info()
public PyThreadState exc_info(_PyErr_StackItem setter)
public PyObject dict()
public PyThreadState dict(PyObject setter)
public int gilstate_counter()
public PyThreadState gilstate_counter(int setter)
public PyObject async_exc()
public PyThreadState async_exc(PyObject setter)
public PyThreadState thread_id(long setter)
public PyThreadState native_thread_id(long setter)
public PyObject delete_later()
public PyThreadState delete_later(PyObject setter)
public PyThreadState critical_section(long setter)
public int coroutine_origin_tracking_depth()
public PyThreadState coroutine_origin_tracking_depth(int setter)
public PyObject async_gen_firstiter()
public PyThreadState async_gen_firstiter(PyObject setter)
public PyObject async_gen_finalizer()
public PyThreadState async_gen_finalizer(PyObject setter)
public PyObject context()
public PyThreadState context(PyObject setter)
public PyThreadState context_ver(long setter)
public PyThreadState id(long setter)
public _PyStackChunk datastack_chunk()
public PyThreadState datastack_chunk(_PyStackChunk setter)
public PyObject datastack_top(int i)
public PyThreadState datastack_top(int i, PyObject setter)
@Cast(value="PyObject**") public PointerPointer datastack_top()
public PyThreadState datastack_top(PointerPointer setter)
public PyObject datastack_limit(int i)
public PyThreadState datastack_limit(int i, PyObject setter)
@Cast(value="PyObject**") public PointerPointer datastack_limit()
public PyThreadState datastack_limit(PointerPointer setter)
@ByRef public _PyErr_StackItem exc_state()
public PyThreadState exc_state(_PyErr_StackItem setter)
public PyObject previous_executor()
public PyThreadState previous_executor(PyObject setter)
public PyThreadState dict_global_version(long setter)
public PyObject threading_local_key()
public PyThreadState threading_local_key(PyObject setter)
public PyObject threading_local_sentinel()
public PyThreadState threading_local_sentinel(PyObject setter)
Copyright © 2025. All rights reserved.