condition-variable-signalPortable Threadscondition-variable-wait-with-timeoutcondition-variable-waitGoTo Top

condition-variable-wait   condition-variable[Function]

Purpose
Block the current thread 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.

Threads (multiprocessing) is not supported on the Common Lisp implementation.

See also
    condition-variable-broadcast
    condition-variable-signal
    condition-variable-wait-with-timeout
    make-condition-variable
    with-lock-held
    without-lock-held

Example
Acquire the condition-variable lock and then wait until signaled by another thread:

  (with-lock-held (condition-variable)
    (condition-variable-wait condition-variable))


The GBBopen Project


condition-variable-signalPortable Threadscondition-variable-wait-with-timeoutcondition-variable-waitGoTo Top