Struct rbspy_ruby_structs::ruby_2_6_5::rb_thread_struct[][src]

#[repr(C)]pub struct rb_thread_struct {
    pub vmlt_node: list_node,
    pub self_: VALUE,
    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_thread_list_t,
    pub invoke_arg: rb_thread_struct__bindgen_ty_1,
    pub invoke_type: rb_thread_struct__bindgen_ty_2,
    pub stat_insn_usage: VALUE,
    pub root_fiber: *mut rb_fiber_t,
    pub root_jmpbuf: rb_jmpbuf_t,
    pub name: VALUE,
}

Fields

vmlt_node: list_nodeself_: VALUEvm: *mut rb_vm_tec: *mut rb_execution_context_tlast_status: VALUEcalling: *mut rb_calling_infotop_self: VALUEtop_wrapper: VALUEthread_id: rb_nativethread_id_t_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>priority: i8running_time_us: u32native_thread_data: native_thread_data_tblocking_region_buffer: *mut c_voidthgroup: VALUEvalue: VALUEpending_interrupt_queue: VALUEpending_interrupt_mask_stack: VALUEinterrupt_lock: rb_nativethread_lock_tunblock: rb_unblock_callbacklocking_mutex: VALUEkeeping_mutexes: *mut rb_mutex_structjoin_list: *mut rb_thread_list_tinvoke_arg: rb_thread_struct__bindgen_ty_1invoke_type: rb_thread_struct__bindgen_ty_2stat_insn_usage: VALUEroot_fiber: *mut rb_fiber_troot_jmpbuf: rb_jmpbuf_tname: VALUE

Implementations

impl rb_thread_struct[src]

pub fn status(&self) -> rb_thread_status[src]

pub fn set_status(&mut self, val: rb_thread_status)[src]

pub fn to_kill(&self) -> c_uint[src]

pub fn set_to_kill(&mut self, val: c_uint)[src]

pub fn abort_on_exception(&self) -> c_uint[src]

pub fn set_abort_on_exception(&mut self, val: c_uint)[src]

pub fn report_on_exception(&self) -> c_uint[src]

pub fn set_report_on_exception(&mut self, val: c_uint)[src]

pub fn pending_interrupt_queue_checked(&self) -> c_uint[src]

pub fn set_pending_interrupt_queue_checked(&mut self, val: c_uint)[src]

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]>
[src]

Trait Implementations

impl Clone for rb_thread_struct[src]

impl Copy for rb_thread_struct[src]

impl Debug for rb_thread_struct[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.