Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2007-12-04 03:33:42


Author: anthonyw
Date: 2007-12-04 03:33:41 EST (Tue, 04 Dec 2007)
New Revision: 41680
URL: http://svn.boost.org/trac/boost/changeset/41680

Log:
reworded the returns clause of timed_wait to allow for spurious wake-ups
Text files modified:
   sandbox/committee/LWG/thread_library.html | 21 ++++++++-------------
   1 files changed, 8 insertions(+), 13 deletions(-)

Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-12-04 03:33:41 EST (Tue, 04 Dec 2007)
@@ -2870,9 +2870,8 @@
 
 <dt>Returns:</dt>
 <dd>
-<code>true</code> if the call to <code>timed_wait</code> is notified
-prior to the indicated timeout,
-otherwise returns <code>false</code>.
+<code>false</code> if the call is returning because the time specified by
+<code>abs_time</code> was reached, <code>true</code> otherwise.
 </dd>
 
 <dt>Throws:</dt>
@@ -2898,9 +2897,8 @@
 
 <dt>Returns:</dt>
 <dd>
-<code>true</code> if the call to <code>timed_wait</code> is notified
-prior to the indicated timeout,
-otherwise returns <code>false</code>.
+<code>false</code> if the call is returning because the time period specified by
+<code>rel_time</code> has elapsed, <code>true</code> otherwise.
 </dd>
 
 </dl>
@@ -3222,10 +3220,8 @@
 
 <dt>Returns:</dt>
 <dd>
-If the call to <code>timed_wait</code>
-is notified prior to the indicated timeout,
-<code>true</code>,
-otherwise <code>false</code>.
+<code>false</code> if the call is returning because the time specified by
+<code>abs_time</code> was reached, <code>true</code> otherwise.
 </dd>
 
 <dt>Throws:</dt>
@@ -3250,9 +3246,8 @@
 
 <dt>Returns:</dt>
 <dd>
-<code>true</code> if the call to <code>timed_wait</code> is notified
-prior to the indicated timeout,
-otherwise returns <code>false</code>.
+<code>false</code> if the call is returning because the time period specified by
+<code>rel_time</code> has elapsed, <code>true</code> otherwise.
 </dd>
 
 </dl>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk