()
| 14 | const SEM_SYNC: usize = 0; |
| 15 | |
| 16 | unsafe fn first() -> ! { |
| 17 | sleep(10); |
| 18 | println!("First work and wakeup Second"); |
| 19 | semaphore_up(SEM_SYNC); |
| 20 | exit(0) |
| 21 | } |
| 22 | |
| 23 | unsafe fn second() -> ! { |
| 24 | println!("Second want to continue,but need to wait first"); |
nothing calls this directly
no test coverage detected