Bordeaux-Threads

Version 0.8.8

Common Lisp threading library

Function CONDITION-NOTIFY

Syntax:

condition-notify condition-variable -> generalized-boolean

Arguments and values:

condition-variable -> a condition-variable object.
generalized-boolean -> a generalized boolean.

Description:

Notify one of the threads waiting for condition-variable.

Returns always false.

Exceptional situations:

Signals an error of type type-error if condition-variable is not a condition-variable object.

See also:

condition-wait, condition-broadcast

Notes:

It is unspecified which thread gets a wakeup and does not necessarily relate to the order in which the threads went to sleep.

condition-notify always returns false because not all implementations’ primitives can tell whether or not some threads were indeed woken up.

Last updated on 2022-01-07
Published on 2022-01-07
Edit on GitHub