Boost logo

Boost-Commit :

From: hinnant_at_[hidden]
Date: 2007-12-18 15:51:22


Author: hinnant
Date: 2007-12-18 15:51:21 EST (Tue, 18 Dec 2007)
New Revision: 42147
URL: http://svn.boost.org/trac/boost/changeset/42147

Log:
V1 issue 37.

Text files modified:
   sandbox/committee/LWG/issues.html | 2 +-
   sandbox/committee/LWG/thread_library.html | 9 ++++-----
   2 files changed, 5 insertions(+), 6 deletions(-)

Modified: sandbox/committee/LWG/issues.html
==============================================================================
--- sandbox/committee/LWG/issues.html (original)
+++ sandbox/committee/LWG/issues.html 2007-12-18 15:51:21 EST (Tue, 18 Dec 2007)
@@ -250,7 +250,7 @@
 <p>36. [thread.lock.unique] (30.3.3.2), release(): returns clause should
 be &quot;the
 previous value of pm&quot;, since one of the postconditions is that pm be 0. </p>
-<p>37. [thread.lock.algorithm] (30.3.4), try_lock(): I'd rephrase the first
+<p>&#10004; 37. [thread.lock.algorithm] (30.3.4), try_lock(): I'd rephrase the first
 sentence of the Effects clause a bit. &quot;... until all arguments have been
 processed, or a call to try_lock() fails, either by returning false or
 by

Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-12-18 15:51:21 EST (Tue, 18 Dec 2007)
@@ -2634,11 +2634,10 @@
 <dd>
 Calls <code>try_lock()</code>
 for each argument in order beginning with the first
-until either all arguments have been processed,
-a call to <code>try_lock()</code> returns <code>false</code>,
-or a call to <code>try_lock()</code> throws an exception.
-If a call to <code>try_lock()</code> returns <code>false</code>
-or throws an exception,
+until all arguments have been processed,
+or a call to <code>try_lock()</code> fails,
+either by returning <code>false</code> or by throwing an exception.
+If a call to <code>try_lock()</code> fails,
 the <code>unlock()</code> function is called for any prior arguments.
 </dd>
 


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