Function hermit_abi::sem_post

source ·
pub unsafe extern "C" fn sem_post(sem: *const c_void) -> i32
Expand description

sem_post() increments the semaphore pointed to by sem. If the semaphore’s value consequently becomes greater than zero, then another thread blocked in a sem_wait call will be woken up and proceed to lock the semaphore.