LispWorks User Guide and Reference Manual > 35 The MP Package

NextPrevUpTopContentsIndex

condition-variable-signal

Function
Summary

Wakes one thread waiting on a given condition variable.

Package

mp

Signature

condition-variable-signal condvar => signalledp

Arguments

condvar

A condition variable

Values

signalledp

A generalized boolean

Description

The function condition-variable-signal wakes exactly one thread 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 a process was 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