The function
condition-variable-signal
wakes exactly one thread waiting on the condition variable
condvar
. In most uses of condition variables, the caller should be holding the lock that the waiter used when calling condition-variable-wait for this condition variable, but this is not required.
The return value
signalledp
is non-nil if a process was signalled, or
nil
if there were no processes waiting.