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

Function tasks

core/src/task.rs:390–392  ·  view source on GitHub ↗

Lists all tasks.

()

Source from the content-addressed store, hash-verified

388
389/// Lists all tasks.
390pub fn tasks() -> Vec<AxTaskRef> {
391 TASK_TABLE.read().values().collect()
392}
393
394/// Finds the task with the given TID.
395pub fn get_task(tid: Pid) -> AxResult<AxTaskRef> {

Callers 1

child_namesMethod · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected