Synopsis
#include <ctl_api.h> void ctl_semaphore_signal(CTL_SEMAPHORE_t *s);
Description
The ctl_semaphore_signal signals the semaphore pointed at by s. If tasks are waiting for the semaphore then the highest priority task will be made runnable. If no tasks are waiting for the semaphore then the semaphore value will be incremented.
Portability
ctl_semaphore_signal is provided in every implementation of the CrossWorks tasking library.