Unlock mutex and wait until signaled or until absTime.
Synopses
Declared in <bslmt_condition.h>
Unlock mutex and wait until signaled or until absTime.
int
timedWait(
Mutex* mutex,
bsls::TimeInterval const& absTime);
Unlock mutex and wait until signaled or until absTime.
Return Value
0 on success, e_TIMED_OUT on timeout, or another value on error
Parameters
Name |
Description |
mutex |
mutex already locked by the calling thread |
absTime |
absolute timeout for the wait |
Created with MrDocs