#[repr(C, align(64))]pub struct vlib_worker_thread_t {Show 27 fields
pub cacheline0: __IncompleteArrayField<u8_>,
pub wait_at_barrier: *mut u32_,
pub workers_at_barrier: *mut u32_,
pub __bindgen_padding_0: [u8; 48],
pub cacheline1: __IncompleteArrayField<u8_>,
pub thread_mheap: *mut c_void,
pub thread_stack: *mut u8_,
pub thread_function: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub thread_function_arg: *mut c_void,
pub recursion_level: i64_,
pub elog_track: elog_track_t,
pub instance_id: u32_,
pub registration: *mut vlib_thread_registration_t,
pub name: *mut u8_,
pub barrier_sync_count: u64_,
pub barrier_elog_enabled: u8_,
pub barrier_caller: *const c_char,
pub barrier_context: *const c_char,
pub node_reforks_required: *mut u32_,
pub wait_before_barrier: u32_,
pub workers_before_barrier: u32_,
pub done_work_before_barrier: u32_,
pub lwp: c_long,
pub cpu_id: c_int,
pub core_id: c_int,
pub numa_id: c_int,
pub thread_id: pthread_t,
}Fields§
§cacheline0: __IncompleteArrayField<u8_>§wait_at_barrier: *mut u32_§workers_at_barrier: *mut u32_§__bindgen_padding_0: [u8; 48]§cacheline1: __IncompleteArrayField<u8_>§thread_mheap: *mut c_void§thread_stack: *mut u8_§thread_function: Option<unsafe extern "C" fn(arg1: *mut c_void)>§thread_function_arg: *mut c_void§recursion_level: i64_§elog_track: elog_track_t§instance_id: u32_§registration: *mut vlib_thread_registration_t§name: *mut u8_§barrier_sync_count: u64_§barrier_elog_enabled: u8_§barrier_caller: *const c_char§barrier_context: *const c_char§node_reforks_required: *mut u32_§wait_before_barrier: u32_§workers_before_barrier: u32_§done_work_before_barrier: u32_§lwp: c_long§cpu_id: c_int§core_id: c_int§numa_id: c_int§thread_id: pthread_tTrait Implementations§
Source§impl Debug for vlib_worker_thread_t
impl Debug for vlib_worker_thread_t
Auto Trait Implementations§
impl Freeze for vlib_worker_thread_t
impl RefUnwindSafe for vlib_worker_thread_t
impl !Send for vlib_worker_thread_t
impl !Sync for vlib_worker_thread_t
impl Unpin for vlib_worker_thread_t
impl UnsafeUnpin for vlib_worker_thread_t
impl UnwindSafe for vlib_worker_thread_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more