The function
condition-variable-broadcast
wakes all threads currently 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 some processes were signalled, or
nil
if there were no processes waiting.