diff --git a/ch3-coop/os/task/struct.TASK_MANAGER.html b/ch3-coop/os/task/struct.TASK_MANAGER.html index 4fdd5fc5..685de980 100644 --- a/ch3-coop/os/task/struct.TASK_MANAGER.html +++ b/ch3-coop/os/task/struct.TASK_MANAGER.html @@ -10,7 +10,7 @@ But in ch3, we load apps statically, so the first task is a real app.

In this case, we only return the first Ready task in task list.

source

fn run_next_task(&self)

Switch current Running task to the task we have found, or there is no Ready task and we can exit with all applications completed

-

Trait Implementations§

source§

impl Deref for TASK_MANAGER

§

type Target = TaskManager

The resulting type after dereferencing.
source§

fn deref(&self) -> &TaskManager

Dereferences the value.
source§

impl LazyStatic for TASK_MANAGER

Auto Trait Implementations§

§

impl Freeze for TASK_MANAGER

§

impl RefUnwindSafe for TASK_MANAGER

§

impl Send for TASK_MANAGER

§

impl Sync for TASK_MANAGER

§

impl Unpin for TASK_MANAGER

§

impl UnwindSafe for TASK_MANAGER

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Deref for TASK_MANAGER

§

type Target = TaskManager

The resulting type after dereferencing.
source§

fn deref(&self) -> &TaskManager

Dereferences the value.
source§

impl LazyStatic for TASK_MANAGER

Auto Trait Implementations§

§

impl Freeze for TASK_MANAGER

§

impl RefUnwindSafe for TASK_MANAGER

§

impl Send for TASK_MANAGER

§

impl Sync for TASK_MANAGER

§

impl Unpin for TASK_MANAGER

§

impl UnwindSafe for TASK_MANAGER

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ch3-coop/trait.impl/lazy_static/trait.LazyStatic.js b/ch3-coop/trait.impl/lazy_static/trait.LazyStatic.js index abeb8610..f8d864a5 100644 --- a/ch3-coop/trait.impl/lazy_static/trait.LazyStatic.js +++ b/ch3-coop/trait.impl/lazy_static/trait.LazyStatic.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"os":[["impl LazyStatic for TASK_MANAGER"]] +"os":[["impl LazyStatic for TASK_MANAGER"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file