MCPcopy Create free account
hub / github.com/Starry-OS/StarryOS / processes

Function processes

core/src/task.rs:403–405  ·  view source on GitHub ↗

Lists all processes.

()

Source from the content-addressed store, hash-verified

401
402/// Lists all processes.
403pub fn processes() -> Vec<Arc<ProcessData>> {
404 PROCESS_TABLE.read().values().collect()
405}
406
407/// Finds the process with the given PID.
408pub fn get_process_data(pid: Pid) -> AxResult<Arc<ProcessData>> {

Callers 2

sys_sysinfoFunction · 0.85
sys_killFunction · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected