LispWorks User Guide and Reference Manual > 35 The MP Package

NextPrevUpTopContentsIndex

condition-variable-broadcast

Function
Summary

Wakes all threads currently waiting on a given condition variable.

Package

mp

Signature

condition-variable-broadcast condvar => signalledp

Arguments

condvar

A condition variable

Values

signalledp

A generalized boolean

Description

The function condition-variable-broadcast wakes all threads currently waiting on the condition variable condvar . In most uses of condition variables, the caller should be holding the lock that the waiter used when calling condition-variable-wait for this condition variable, but this is not required.

The return value signalledp is non-nil if some processes were signalled, or nil if there were no processes waiting.

See also

condition-variable-wait
make-condition-variable


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex