mirror of
https://github.com/boostorg/thread.git
synced 2026-02-21 15:32:09 +00:00
Thread: merge from trunk condition_variables no-it + doc
[SVN r82159]
This commit is contained in:
@@ -346,8 +346,8 @@ the thread is unblocked (for whatever reason), the lock is reacquired by
|
||||
invoking `lock.lock()` before the call to `wait` returns. The lock is also
|
||||
reacquired by invoking `lock.lock()` if the function exits with an exception.]]
|
||||
|
||||
[[Returns:] [`cv_status::no_timeout` if the call is returning because the time specified by
|
||||
`abs_time` was reached, `cv_status::timeout` otherwise.]]
|
||||
[[Returns:] [`cv_status::timeout` if the call is returning because the time specified by
|
||||
`abs_time` was reached, `cv_status::no_timeout` otherwise.]]
|
||||
|
||||
[[Postcondition:] [`lock` is locked by the current thread.]]
|
||||
|
||||
@@ -378,8 +378,8 @@ reason), the lock is reacquired by invoking `lock.lock()` before the call to
|
||||
`wait` returns. The lock is also reacquired by invoking `lock.lock()` if the
|
||||
function exits with an exception.]]
|
||||
|
||||
[[Returns:] [`cv_status::no_timeout ` if the call is returning because the time period specified
|
||||
by `rel_time` has elapsed, `cv_status::timeout ` otherwise.]]
|
||||
[[Returns:] [`cv_status::timeout ` if the call is returning because the time period specified
|
||||
by `rel_time` has elapsed, `cv_status::no_timeout ` otherwise.]]
|
||||
|
||||
[[Postcondition:] [`lock` is locked by the current thread.]]
|
||||
|
||||
|
||||
@@ -1501,8 +1501,7 @@ specified by `rel_time` has elapsed or the time point specified by
|
||||
|
||||
[variablelist
|
||||
|
||||
[[Effects:] [Suspends the current thread until the time period
|
||||
specified by `rel_time` has elapsed or the time point specified by
|
||||
[[Effects:] [Suspends the current thread until the time point specified by
|
||||
`abs_time` has been reached.]]
|
||||
|
||||
[[Throws:] [Nothing if Clock satisfies the TrivialClock requirements and operations of Duration
|
||||
@@ -1526,8 +1525,8 @@ do not throw exceptions. __thread_interrupted__ if the current thread of executi
|
||||
|
||||
[variablelist
|
||||
|
||||
[[Effects:] [Suspends the current thread until the time point specified by
|
||||
`abs_time` has been reached.]]
|
||||
[[Effects:] [Suspends the current thread until the duration specified by
|
||||
by `rel_time` has elapsed.]]
|
||||
|
||||
[[Throws:] [Nothing if operations of chrono::duration<Rep, Period> do not throw exceptions. __thread_interrupted__ if the current thread of execution is interrupted.]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user