pub unsafe extern "C" fn k_sem_reset(sem: *mut k_sem)Expand description
@brief Resets a semaphore’s count to zero.
This routine sets the count of @a sem to zero. Any outstanding semaphore takes will be aborted with -EAGAIN.
@note A reset does not wake semaphore poll waiters. They remain pending until the semaphore becomes available or the poll operation times out.
@param sem Address of the semaphore.