use exclusive_session to eliminate some explicit drops.

This commit is contained in:
Yifan Wu 2022-03-10 16:41:06 -08:00
parent ba611a1458
commit fb196d35a9
8 changed files with 21 additions and 54 deletions

View file

@ -9,7 +9,7 @@ pub struct TaskControlBlock {
pub process: Weak<ProcessControlBlock>,
pub kstack: KernelStack,
// mutable
inner: UPIntrFreeCell<TaskControlBlockInner>,
pub inner: UPIntrFreeCell<TaskControlBlockInner>,
}
impl TaskControlBlock {