Locks, applies a setup function, calls condition-variable-broadcast and unlocks.
A function designator.
Arguments to setup-function.
lock-and-condition-variable-broadcast locks the lock lock, applies the function setup-function to args, calls condition-variable-broadcast and unlocks lock.
lock-and-condition-variable-broadcast makes it easier to avoid mistakes when using a condition-variable.
It returns the result of the call to condition-variable-broadcast.
LispWorks User Guide and Reference Manual - 20 Sep 2017