Wakes one thread waiting on a given condition-variable.
mp
condition-variable-signal condvar => signaledp
condvar⇩ |
signaledp⇩ |
A generalized boolean. |
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 condvar, but this is not required. When using the lock, you may prefer to use lock-and-condition-variable-signal.
The return value signaledp is non-nil if a process was signaled, or nil
if there were no processes waiting.
condition-variable-wait
make-condition-variable
lock-and-condition-variable-signal
lock-and-condition-variable-wait
simple-lock-and-condition-variable-wait
lock-and-condition-variable-broadcast
condition-variable-broadcast
19.7.1 Condition variables
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51