use exclusive_session to eliminate some explicit drops.
This commit is contained in:
parent
ba611a1458
commit
fb196d35a9
8 changed files with 21 additions and 54 deletions
|
@ -9,7 +9,7 @@ pub struct TaskControlBlock {
|
|||
pub process: Weak<ProcessControlBlock>,
|
||||
pub kstack: KernelStack,
|
||||
// mutable
|
||||
inner: UPIntrFreeCell<TaskControlBlockInner>,
|
||||
pub inner: UPIntrFreeCell<TaskControlBlockInner>,
|
||||
}
|
||||
|
||||
impl TaskControlBlock {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue