empty | condition function |
Syntax | empty (variableReference) : boolean
|
Description | The empty function is used in a concurrent program. It returns true if the variableReference, which must be a condition variable, has no processes waiting for it. Processes join the queue of a condition variable by executing the wait statement, and are awakened by the signal statement.
|
See also | condition, wait, signal, fork and monitor. See also predefined unit Concurrency.
|