Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ sys_yield
Function
sys_yield
os/src/syscall/process.rs:17–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
}
16
17
pub fn sys_yield() -> isize {
18
suspend_current_and_run_next();
19
0
20
}
21
22
pub fn sys_get_time() -> isize {
23
get_time_ms() as isize
Callers
1
syscall
Function · 0.70
Calls
1
suspend_current_and_run_next
Function · 0.85
Tested by
no test coverage detected