MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / inner_exclusive_access

Method inner_exclusive_access

os/src/task/process.rs:70–72  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

68
69impl ProcessControlBlock {
70 pub fn inner_exclusive_access(&self) -> UPIntrRefMut<'_, ProcessControlBlockInner> {
71 self.inner.exclusive_access()
72 }
73
74 pub fn new(elf_data: &[u8]) -> Arc<Self> {
75 // memory_set with elf program headers/trampoline/trap context/user stack

Callers 3

newMethod · 0.45
execMethod · 0.45
forkMethod · 0.45

Calls 1

exclusive_accessMethod · 0.80

Tested by

no test coverage detected