Signals on the condition variable.
#include <nks/synch.h> void NXCondSignal ( NXCond_t *cond);
(IN) Points to the condition variable to signal.
NXCondSignal wakes up one of the threads blocked on the condition variable. If more than one thread is blocked on the condition variable, no assumptions can be made on which of those threads might be awakened. NXCondSignal has no effect on threads that are not awakened.
NOTE:Condition variables are stateless. If no threads are blocked on the condition variable, the call to NXCondSignal has no effect and is not remembered. A subsequent call to NXCondWait or NXCondTimedWait blocks the calling thread.
For sample code, see CondVar.c.