Function csem_wait

Function Documentation

status_t csem_wait(struct csem *sem)

Wait on (lock) a counting semaphore.

Parameters:

sem – The semaphore handle.

Returns:

status_t.