()
| 57 | } |
| 58 | |
| 59 | pub fn take_current_task() -> Option<Arc<TaskControlBlock>> { |
| 60 | PROCESSOR.exclusive_access().take_current() |
| 61 | } |
| 62 | |
| 63 | pub fn current_task() -> Option<Arc<TaskControlBlock>> { |
| 64 | PROCESSOR.exclusive_access().current() |
no test coverage detected