Function CONDITION-BROADCAST
Syntax:
condition-broadcast condition-variable -> generalized-boolean
Arguments and values:
condition-variable -> a
condition-variable object.
generalized-boolean -> a generalized
boolean.
Description:
Notify all the threads waiting for condition-variable
.
Returns always false.
Exceptional situations:
Signals an error of type
type-error
if condition-variable
is not a
condition-variable object.
See also:
condition-wait, condition-notify
Notes:
The order of wakeup is unspecified and does not necessarily relate to the order in which the threads went to sleep.
condition-broadcast always returns false because not all implementations’ primitives can tell whether or not some threads were indeed woken up.