Synopsis
unsigned ctl_semaphore_wait_nb(CTL_SEMAPHORE_t *s);
Description

ctl_semaphore_wait_nb waits for the semaphore pointed to by s without blocking. Returns returns one on success.

Note

ctl_semaphore_wait_nb must not be called from an interrupt service routine.