Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ f
Function
f
user/src/bin/adder.rs:25–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}
24
25
unsafe fn f() -> ! {
26
let mut t = 2usize;
27
for _ in 0..PER_THREAD {
28
critical_section(&mut t);
29
}
30
exit(t as i32)
31
}
32
33
#[no_mangle]
34
pub fn main(argc: usize, argv: &[&str]) -> i32 {
Callers
3
read
Method · 0.50
modify
Method · 0.50
exclusive_session
Method · 0.50
Calls
2
exit
Function · 0.85
critical_section
Function · 0.70
Tested by
no test coverage detected