blocks thread on condition variable cond.
a0tError a0TimedWaitCondition( | | | |
| a0tCondition | *cond, | |
| a0tmutex | *mutex, | |
| const struct timespec | *abstime);
| |
Name | rd/wr | Description |
cond | read | Condition to be signaled. |
mutex | read | Mutex associated to condition variable. |
abstime | read | Maximum time to wait (time-out). |
This function is similar to a0WaitCondition() except an error
is returned if the system time equals or exceeds the time
specified by abstime before the condition cond
is signaled or broadcasted, or if the absolute time specified
by abstime has already passed at the time of the call.
When time-outs occurs the mutex is released and
reacquired.
Error Code | Description |
A0Err...Some error occurred. | |
A0ErrOkSuccessful completion. | |
a0DisposeCondition() a0NewCondition() a0BroadcastCondition() a0WaitCondition() a0SignalCondition()