Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ exit
Function
exit
user/src/task.rs:3–5 ·
view source on GitHub ↗
(exit_code: i32)
Source
from the content-addressed store, hash-verified
1
use super::*;
2
3
pub fn exit(exit_code: i32) -> ! {
4
sys_exit(exit_code);
5
}
6
pub fn yield_() -> isize {
7
sys_yield()
8
}
Callers
15
_start
Function · 0.85
f
Function · 0.85
sleepy
Function · 0.85
thread_a
Function · 0.85
thread_b
Function · 0.85
thread_c
Function · 0.85
producer
Function · 0.85
consumer
Function · 0.85
main
Function · 0.85
philosopher_dining_problem
Function · 0.85
thread_fn
Function · 0.85
f
Function · 0.85
Calls
1
sys_exit
Function · 0.70
Tested by
4
main
Function · 0.68
first
Function · 0.68
second
Function · 0.68
main
Function · 0.68