![]() | ![]() | ![]() | condition-variable-signal | ![]() |
|
| condition-variable | [Function] |
Purpose
Unblock one thread that is blocked on condition-variable.
Package :portable-threads
Module :portable-threads
Arguments and values
| condition-variable | A condition variable |
Errors
The lock (or recursive lock) associated
with condition-variable is not held by the executing process.
Description
If no threads are blocked on condition-variable, this
function is a no-op.
See also
condition-variable-broadcast
condition-variable-wait
condition-variable-wait-with-timeout
make-condition-variable
with-lock-held
without-lock-held
Example
Acquire the lock associated with condition-variable
and then signal one blocked thread that is waiting on it:
(with-lock-held (condition-variable)
(condition-variable-signal condition-variable))
Note
On Common Lisp implementations without threads, this function does
nothing.
The GBBopen Project
![]() | ![]() | ![]() | condition-variable-signal | ![]() |