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

Function sys_sleep

user/src/syscall.rs:79–81  ·  view source on GitHub ↗
(sleep_ms: usize)

Source from the content-addressed store, hash-verified

77}
78
79pub fn sys_sleep(sleep_ms: usize) -> isize {
80 syscall(SYSCALL_SLEEP, [sleep_ms, 0, 0])
81}
82
83pub fn sys_yield() -> isize {
84 syscall(SYSCALL_YIELD, [0, 0, 0])

Callers 1

sleepFunction · 0.70

Calls 1

syscallFunction · 0.70

Tested by

no test coverage detected