Struct rbspy_ruby_structs::ruby_3_0_0::rb_thread_struct [−][src]
#[repr(C)]pub struct rb_thread_struct {Show 35 fields
pub lt_node: list_node,
pub self_: VALUE,
pub ractor: *mut rb_ractor_t,
pub vm: *mut rb_vm_t,
pub ec: *mut rb_execution_context_t,
pub last_status: VALUE,
pub calling: *mut rb_calling_info,
pub top_self: VALUE,
pub top_wrapper: VALUE,
pub thread_id: rb_nativethread_id_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub priority: i8,
pub running_time_us: u32,
pub native_thread_data: native_thread_data_t,
pub blocking_region_buffer: *mut c_void,
pub thgroup: VALUE,
pub value: VALUE,
pub pending_interrupt_queue: VALUE,
pub pending_interrupt_mask_stack: VALUE,
pub interrupt_lock: rb_nativethread_lock_t,
pub unblock: rb_unblock_callback,
pub locking_mutex: VALUE,
pub keeping_mutexes: *mut rb_mutex_struct,
pub join_list: *mut rb_waiting_list,
pub invoke_arg: rb_thread_struct__bindgen_ty_1,
pub invoke_type: rb_thread_struct_thread_invoke_type,
pub stat_insn_usage: VALUE,
pub root_fiber: *mut rb_fiber_t,
pub root_jmpbuf: rb_jmpbuf_t,
pub scheduler: VALUE,
pub blocking: c_uint,
pub name: VALUE,
pub ext_config: rb_ext_config,
pub altstack: *mut c_void,
}
Fields
lt_node: list_node
self_: VALUE
ractor: *mut rb_ractor_t
vm: *mut rb_vm_t
ec: *mut rb_execution_context_t
last_status: VALUE
calling: *mut rb_calling_info
top_self: VALUE
top_wrapper: VALUE
thread_id: rb_nativethread_id_t
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
priority: i8
running_time_us: u32
native_thread_data: native_thread_data_t
blocking_region_buffer: *mut c_void
thgroup: VALUE
value: VALUE
pending_interrupt_queue: VALUE
pending_interrupt_mask_stack: VALUE
interrupt_lock: rb_nativethread_lock_t
unblock: rb_unblock_callback
locking_mutex: VALUE
keeping_mutexes: *mut rb_mutex_struct
join_list: *mut rb_waiting_list
invoke_arg: rb_thread_struct__bindgen_ty_1
invoke_type: rb_thread_struct_thread_invoke_type
stat_insn_usage: VALUE
root_fiber: *mut rb_fiber_t
root_jmpbuf: rb_jmpbuf_t
scheduler: VALUE
blocking: c_uint
name: VALUE
ext_config: rb_ext_config
altstack: *mut c_void
Implementations
pub fn new_bitfield_1(
status: rb_thread_status,
to_kill: c_uint,
abort_on_exception: c_uint,
report_on_exception: c_uint,
pending_interrupt_queue_checked: c_uint
) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for rb_thread_struct
impl !Send for rb_thread_struct
impl !Sync for rb_thread_struct
impl Unpin for rb_thread_struct
impl UnwindSafe for rb_thread_struct
Blanket Implementations
Mutably borrows from an owned value. Read more