Locks, applies a setup function, calls condition-variable-broadcast and unlocks.
lock-and-condition-variable-broadcast locks the lock lock, applies the function setup-function, calls condition-variable-broadcast and unlocks.
lock-and-condition-variable-broadcast makes it easier to avoid mistakes in using a condition variable.
It returns the result of the call to condition-variable-broadcast.
LispWorks User Guide and Reference Manual - 13 Feb 2015