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

Function sleep

user/src/task.rs:63–65  ·  view source on GitHub ↗
(sleep_ms: usize)

Source from the content-addressed store, hash-verified

61}
62
63pub fn sleep(sleep_ms: usize) {
64 sys_sleep(sleep_ms);
65}
66
67pub fn thread_create(entry: usize, arg: usize) -> isize {
68 sys_thread_create(entry, arg)

Callers 12

mainFunction · 0.85
sleepyFunction · 0.85
mainFunction · 0.85
eisenberg_enter_criticalFunction · 0.85
thread_fnFunction · 0.85
peterson_enter_criticalFunction · 0.85
thread_fnFunction · 0.85
firstFunction · 0.85
firstFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

sys_sleepFunction · 0.70

Tested by 2

mainFunction · 0.68
firstFunction · 0.68