The 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.
lock-and-condition-variable-broadcast
performs the equivalent of:
(mp:with-lock (lock nil lock-timeout )
(apply setup-function args )
(mp:condition-variable-broadcast condvar ))
It returns the result of the call to condition-variable-broadcast.
See condition-variable-broadcast and with-lock for more details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4