Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
new
Method · 0.80
fork
Method · 0.80
exit_current_and_run_next
Function · 0.80
sys_getpid
Function · 0.80
sys_fork
Function · 0.80
sys_waitpid
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected