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

Function main

user/src/bin/forktree.rs:37–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36#[no_mangle]
37pub fn main() -> i32 {
38 fork_tree("");
39 let mut exit_code: i32 = 0;
40 for _ in 0..2 {
41 wait(&mut exit_code);
42 }
43 sleep(3000);
44 0
45}

Callers

nothing calls this directly

Calls 3

fork_treeFunction · 0.85
waitFunction · 0.85
sleepFunction · 0.85

Tested by

no test coverage detected