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

Method getpid

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

Source from the content-addressed store, hash-verified

253 }
254
255 pub fn getpid(&self) -> usize {
256 self.pid.0
257 }
258}

Callers 6

newMethod · 0.80
forkMethod · 0.80
sys_getpidFunction · 0.80
sys_forkFunction · 0.80
sys_waitpidFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected