|
Boost-Commit : |
From: hinnant_at_[hidden]
Date: 2007-12-18 16:12:22
Author: hinnant
Date: 2007-12-18 16:12:22 EST (Tue, 18 Dec 2007)
New Revision: 42150
URL: http://svn.boost.org/trac/boost/changeset/42150
Log:
V1 issue 40.
Text files modified:
sandbox/committee/LWG/issues.html | 2 +-
sandbox/committee/LWG/thread_library.html | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: sandbox/committee/LWG/issues.html
==============================================================================
--- sandbox/committee/LWG/issues.html (original)
+++ sandbox/committee/LWG/issues.html 2007-12-18 16:12:22 EST (Tue, 18 Dec 2007)
@@ -265,7 +265,7 @@
<p>✎ 39. [thread.threads.callonce] (30.3.5.2), requires clause: last
sentence seems
excessive. Is it necessary? </p>
-<p>40. [thread.threads.callonce] (30.3.5.2), effects clause: I'd move the
+<p>✔ 40. [thread.threads.callonce] (30.3.5.2), effects clause: I'd move the
last
sentence to immediately after the first one. Easier to follow the logic. </p>
<p>✔ 41. [thread.condition] (30.4), first sentence: is "the monitor pattern"
Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-12-18 16:12:22 EST (Tue, 18 Dec 2007)
@@ -2761,6 +2761,9 @@
<dd>
Calls to <code>call_once</code> on the same <code>once_flag</code> object
are serialized.
+If there has been a prior effective <code>call_once</code>
+on the same once_flag object,
+the <code>call_once</code> returns without invoking <code>func</code>.
If there has been no prior effective <code>call_once</code>
on the same <code>once_flag</code> object,
the argument <code>func</code> (or a copy thereof)
@@ -2771,9 +2774,6 @@
<code>func(args)</code> returns without exception.
If an exception is thrown,
the exception is propagated to the caller.
-If there has been a prior effective <code>call_once</code>
-on the same once_flag object,
-the <code>call_once</code> returns without invoking <code>func</code>.
</dd>
<dt>Synchronization:</dt>
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