pub struct LinuxThreadState {
pub parent_tid_ptr: Option<usize>,
pub child_tid_ptr: Option<usize>,
pub clear_child_tid_ptr: Option<usize>,
pub robust_list_head: Option<usize>,
pub robust_list_len: usize,
pub tls_pointer: Option<usize>,
pub tgid: usize,
pub pending_clone_is_thread: bool,
}Fields§
§parent_tid_ptr: Option<usize>§child_tid_ptr: Option<usize>§clear_child_tid_ptr: Option<usize>§robust_list_head: Option<usize>§robust_list_len: usize§tls_pointer: Option<usize>§tgid: usizeLinux Thread Group ID (TGID). For processes, TGID == PID of group leader. 0 means uninitialized and should fall back to Task ID.
pending_clone_is_thread: boolInternal: set by sys_clone prior to cloning to indicate CLONE_THREAD semantics
Trait Implementations§
Source§impl Clone for LinuxThreadState
impl Clone for LinuxThreadState
Source§fn clone(&self) -> LinuxThreadState
fn clone(&self) -> LinuxThreadState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for LinuxThreadState
impl Default for LinuxThreadState
Source§fn default() -> LinuxThreadState
fn default() -> LinuxThreadState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinuxThreadState
impl RefUnwindSafe for LinuxThreadState
impl Send for LinuxThreadState
impl Sync for LinuxThreadState
impl Unpin for LinuxThreadState
impl UnwindSafe for LinuxThreadState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)