Stage1 clear! All applications work but now they are based on threads.
This commit is contained in:
parent
ad0a7bcaa1
commit
4fa4e9cab4
8 changed files with 21 additions and 22 deletions
|
@ -33,4 +33,4 @@ pub fn add_task(task: Arc<TaskControlBlock>) {
|
|||
|
||||
pub fn fetch_task() -> Option<Arc<TaskControlBlock>> {
|
||||
TASK_MANAGER.exclusive_access().fetch()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue