()
| 23 | a.write_volatile(cur + 1); |
| 24 | } |
| 25 | unsafe fn f() -> ! { |
| 26 | let mut t = 2usize; |
| 27 | for _ in 0..PER_THREAD { |
| 28 | mutex_lock(0); |
| 29 | critical_section(&mut t); |
| 30 | mutex_unlock(0); |
| 31 | } |
| 32 | exit(t as i32) |
| 33 | } |
| 34 | |
| 35 | #[no_mangle] |
| 36 | pub fn main(argc: usize, argv: &[&str]) -> i32 { |
nothing calls this directly
no test coverage detected