Struct rbspy_ruby_structs::ruby_1_9_3_0::rb_thread_struct[][src]

#[repr(C)]pub struct rb_thread_struct {
    pub self_: VALUE,
    pub vm: *mut rb_vm_t,
    pub stack: *mut VALUE,
    pub stack_size: c_ulong,
    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 waiting_fd: c_int,
    pub passed_block: *const rb_block_t,
    pub passed_me: *const rb_method_entry_t,
    pub top_self: VALUE,
    pub top_wrapper: VALUE,
    pub base_block: *mut rb_block_t,
    pub local_lfp: *mut VALUE,
    pub local_svar: VALUE,
    pub thread_id: rb_thread_id_t,
    pub status: rb_thread_status,
    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 thrown_errinfo: VALUE,
    pub interrupt_flag: rb_atomic_t,
    pub interrupt_lock: rb_thread_lock_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 join_list_next: *mut rb_thread_struct,
    pub join_list_head: *mut rb_thread_struct,
    pub first_proc: VALUE,
    pub first_args: VALUE,
    pub first_func: Option<unsafe extern "C" fn() -> VALUE>,
    pub machine_stack_start: *mut VALUE,
    pub machine_stack_end: *mut VALUE,
    pub machine_stack_maxsize: usize,
    pub machine_regs: jmp_buf,
    pub mark_stack_len: c_int,
    pub stat_insn_usage: VALUE,
    pub event_hooks: *mut rb_event_hook_t,
    pub event_flags: rb_event_flag_t,
    pub tracing: c_int,
    pub fiber: VALUE,
    pub root_fiber: VALUE,
    pub root_jmpbuf: rb_jmpbuf_t,
    pub method_missing_reason: c_int,
    pub abort_on_exception: c_int,
    pub altstack: *mut c_void,
    pub running_time_us: c_ulong,
}

Fields

self_: VALUEvm: *mut rb_vm_tstack: *mut VALUEstack_size: c_ulongcfp: *mut rb_control_frame_tsafe_level: c_intraised_flag: c_intlast_status: VALUEstate: c_intwaiting_fd: c_intpassed_block: *const rb_block_tpassed_me: *const rb_method_entry_ttop_self: VALUEtop_wrapper: VALUEbase_block: *mut rb_block_tlocal_lfp: *mut VALUElocal_svar: VALUEthread_id: rb_thread_id_tstatus: rb_thread_statuspriority: c_intnative_thread_data: native_thread_data_tblocking_region_buffer: *mut c_voidthgroup: VALUEvalue: VALUEerrinfo: VALUEthrown_errinfo: VALUEinterrupt_flag: rb_atomic_tinterrupt_lock: rb_thread_lock_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_tablejoin_list_next: *mut rb_thread_structjoin_list_head: *mut rb_thread_structfirst_proc: VALUEfirst_args: VALUEfirst_func: Option<unsafe extern "C" fn() -> VALUE>machine_stack_start: *mut VALUEmachine_stack_end: *mut VALUEmachine_stack_maxsize: usizemachine_regs: jmp_bufmark_stack_len: c_intstat_insn_usage: VALUEevent_hooks: *mut rb_event_hook_tevent_flags: rb_event_flag_ttracing: c_intfiber: VALUEroot_fiber: VALUEroot_jmpbuf: rb_jmpbuf_tmethod_missing_reason: c_intabort_on_exception: c_intaltstack: *mut c_voidrunning_time_us: c_ulong

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.