Struct rbspy_ruby_structs::ruby_2_3_8::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 stack: *mut VALUE,
    pub stack_size: usize,
    pub cfp: *mut rb_control_frame_t,
    pub safe_level: c_int,
    pub raised_flag: c_int,
    pub last_status: VALUE,
    pub state: c_int,
    pub passed_block: *const rb_block_t,
    pub passed_bmethod_me: *const rb_callable_method_entry_t,
    pub calling: *mut rb_calling_info,
    pub top_self: VALUE,
    pub top_wrapper: VALUE,
    pub base_block: *mut rb_block_t,
    pub root_lep: *mut VALUE,
    pub root_svar: VALUE,
    pub thread_id: rb_nativethread_id_t,
    pub status: rb_thread_status,
    pub to_kill: c_int,
    pub priority: c_int,
    pub native_thread_data: native_thread_data_t,
    pub blocking_region_buffer: *mut c_void,
    pub thgroup: VALUE,
    pub value: VALUE,
    pub errinfo: VALUE,
    pub pending_interrupt_queue: VALUE,
    pub pending_interrupt_mask_stack: VALUE,
    pub pending_interrupt_queue_checked: c_int,
    pub interrupt_flag: rb_atomic_t,
    pub interrupt_mask: c_ulong,
    pub interrupt_lock: rb_nativethread_lock_t,
    pub interrupt_cond: rb_nativethread_cond_t,
    pub unblock: rb_unblock_callback,
    pub locking_mutex: VALUE,
    pub keeping_mutexes: *mut rb_mutex_struct,
    pub tag: *mut rb_vm_tag,
    pub protect_tag: *mut rb_vm_protect_tag,
    pub parse_in_eval: c_int,
    pub mild_compile_error: c_int,
    pub local_storage: *mut st_table,
    pub local_storage_recursive_hash: VALUE,
    pub local_storage_recursive_hash_for_trace: VALUE,
    pub join_list: *mut rb_thread_list_t,
    pub first_proc: VALUE,
    pub first_args: VALUE,
    pub first_func: Option<unsafe extern "C" fn() -> VALUE>,
    pub machine: rb_thread_struct__bindgen_ty_1,
    pub stat_insn_usage: VALUE,
    pub event_hooks: rb_hook_list_t,
    pub trace_arg: *mut rb_trace_arg_struct,
    pub fiber: *mut rb_fiber_t,
    pub root_fiber: *mut rb_fiber_t,
    pub root_jmpbuf: rb_jmpbuf_t,
    pub ensure_list: *mut rb_ensure_list_t,
    pub method_missing_reason: method_missing_reason,
    pub abort_on_exception: c_int,
    pub altstack: *mut c_void,
    pub running_time_us: c_ulong,
    pub name: VALUE,
}

Fields

vmlt_node: list_nodeself_: VALUEvm: *mut rb_vm_tstack: *mut VALUEstack_size: usizecfp: *mut rb_control_frame_tsafe_level: c_intraised_flag: c_intlast_status: VALUEstate: c_intpassed_block: *const rb_block_tpassed_bmethod_me: *const rb_callable_method_entry_tcalling: *mut rb_calling_infotop_self: VALUEtop_wrapper: VALUEbase_block: *mut rb_block_troot_lep: *mut VALUEroot_svar: VALUEthread_id: rb_nativethread_id_tstatus: rb_thread_statusto_kill: c_intpriority: c_intnative_thread_data: native_thread_data_tblocking_region_buffer: *mut c_voidthgroup: VALUEvalue: VALUEerrinfo: VALUEpending_interrupt_queue: VALUEpending_interrupt_mask_stack: VALUEpending_interrupt_queue_checked: c_intinterrupt_flag: rb_atomic_tinterrupt_mask: c_ulonginterrupt_lock: rb_nativethread_lock_tinterrupt_cond: rb_nativethread_cond_tunblock: rb_unblock_callbacklocking_mutex: VALUEkeeping_mutexes: *mut rb_mutex_structtag: *mut rb_vm_tagprotect_tag: *mut rb_vm_protect_tagparse_in_eval: c_intmild_compile_error: c_intlocal_storage: *mut st_tablelocal_storage_recursive_hash: VALUElocal_storage_recursive_hash_for_trace: VALUEjoin_list: *mut rb_thread_list_tfirst_proc: VALUEfirst_args: VALUEfirst_func: Option<unsafe extern "C" fn() -> VALUE>machine: rb_thread_struct__bindgen_ty_1stat_insn_usage: VALUEevent_hooks: rb_hook_list_ttrace_arg: *mut rb_trace_arg_structfiber: *mut rb_fiber_troot_fiber: *mut rb_fiber_troot_jmpbuf: rb_jmpbuf_tensure_list: *mut rb_ensure_list_tmethod_missing_reason: method_missing_reasonabort_on_exception: c_intaltstack: *mut c_voidrunning_time_us: c_ulongname: VALUE

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.