pub struct TaskExt {
pub time: RefCell<TimeStat>,
pub thread: Arc<Thread>,
}
Expand description
Task extended data for the monolithic kernel.
Fields§
§time: RefCell<TimeStat>
The time statistics
thread: Arc<Thread>
The thread
Implementations§
Source§impl TaskExt
impl TaskExt
Sourcepub fn thread_data(&self) -> &ThreadData
pub fn thread_data(&self) -> &ThreadData
Get the ThreadData
associated with this task.
Sourcepub fn process_data(&self) -> &ProcessData
pub fn process_data(&self) -> &ProcessData
Get the ProcessData
associated with this task.
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