pub struct TaskExt {
pub proc_id: usize,
clear_child_tid: AtomicU64,
pub uctx: UspaceContext,
pub aspace: Arc<Mutex<AddrSpace>>,
}
Expand description
Task extended data for the monolithic kernel.
Fields§
§proc_id: usize
The process ID.
clear_child_tid: AtomicU64
The clear thread tid field
See https://manpages.debian.org/unstable/manpages-dev/set_tid_address.2.en.html#clear_child_tid
When the thread exits, the kernel clears the word at this address if it is not NULL.
uctx: UspaceContext
The user space context.
aspace: Arc<Mutex<AddrSpace>>
The virtual memory address space.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TaskExt
impl !RefUnwindSafe for TaskExt
impl Send for TaskExt
impl Sync for TaskExt
impl Unpin for TaskExt
impl !UnwindSafe for TaskExt
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