Releases the resource protected by the specified semaphore.
#include <nks/synch.h> void NXSemaPost ( NXSema_t *sema);
(IN) Points to the semaphore to signal.
NXSemaPost increments the semaphore count. If a thread is waiting for the semaphore, it makes the blocked thread runnable. If multiple threads are blocked on the semaphore, no assumptions can be made about which of those threads might be unblocked.
For sample code, see Library.c.