pub fn sem_wait(handle: usize) -> Result<usize, Error>
Wait (decrement) a semaphore, blocking while it is zero.