a0NewCondition()

Initializes a condition variable cond.


Syntax

a0tError a0NewCondition(
a0tCondition *cond);

Arguments

Namerd/wrDescription
cond read Condition variable to be initialized.

Description

This function initializes the condition variable specified by cond. The variable condition allows only threads created within the same process operate in it.

Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also

a0DisposeCondition() a0SignalCondition() a0BroadcastCondition() a0WaitCondition() a0TimedWaitCondition()