MCPcopy 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
25unsafe 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]
34pub fn main(argc: usize, argv: &[&str]) -> i32 {

Callers 3

readMethod · 0.50
modifyMethod · 0.50
exclusive_sessionMethod · 0.50

Calls 2

exitFunction · 0.85
critical_sectionFunction · 0.70

Tested by

no test coverage detected