Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
390
pub fn tasks() -> Vec<AxTaskRef> {
391
TASK_TABLE.read().values().collect()
392
}
393
394
/// Finds the task with the given TID.
395
pub fn get_task(tid: Pid) -> AxResult<AxTaskRef> {
Callers
1
child_names
Method · 0.85
Calls
1
read
Method · 0.45
Tested by
no test coverage detected