#[repr(C)]pub struct rb_global_vm_lock_struct {
pub acquired: c_ulong,
pub lock: pthread_mutex_t,
pub waiting: c_ulong,
pub cond: rb_nativethread_cond_t,
pub switch_cond: rb_nativethread_cond_t,
pub switch_wait_cond: rb_nativethread_cond_t,
pub need_yield: c_int,
pub wait_yield: c_int,
}
Fields§
§acquired: c_ulong
§lock: pthread_mutex_t
§waiting: c_ulong
§cond: rb_nativethread_cond_t
§switch_cond: rb_nativethread_cond_t
§switch_wait_cond: rb_nativethread_cond_t
§need_yield: c_int
§wait_yield: c_int
Trait Implementations§
source§impl Clone for rb_global_vm_lock_struct
impl Clone for rb_global_vm_lock_struct
source§fn clone(&self) -> rb_global_vm_lock_struct
fn clone(&self) -> rb_global_vm_lock_struct
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more