2
0
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:
Vicente J. Botet Escriba
2012-12-21 22:15:14 +00:00
parent 8ee9ed1904
commit e012b8abb2
7 changed files with 287 additions and 23 deletions

View File

@@ -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.]]

View File

@@ -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.]]