|
Boost-Commit : |
From: Lawrence_at_[hidden]
Date: 2007-12-14 20:57:08
Author: crowl
Date: 2007-12-14 20:57:08 EST (Fri, 14 Dec 2007)
New Revision: 42059
URL: http://svn.boost.org/trac/boost/changeset/42059
Log:
Put note heads and tails on separate lines.
Text files modified:
sandbox/committee/LWG/thread_library.html | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-12-14 20:57:08 EST (Fri, 14 Dec 2007)
@@ -497,8 +497,9 @@
when no <code>thread</code> object represents that thread.
Objects of class <code>thread</code> can be in a state that does not represent a
thread of execution.
-[<i>Note:</i> A <code>thread</code>
-object does not represent a thread of execution after default construction,
+[<i>Note:</i>
+A <code>thread</code> object
+does not represent a thread of execution after default construction,
after being moved from,
or after a successful call to <code>detach</code> or <code>join</code>.
—<i>end note</i>]
@@ -1361,7 +1362,8 @@
If ownership is not obtained,
there is no effect and <code>try_lock()</code> immediately returns. An
implementation may fail to obtain the lock even if it is not held by any other
-thread. [<i>Note:</i>
+thread.
+[<i>Note:</i>
This spurious failure is normally uncommon,
but allows interesting implementations
based on a simple <code>compare_swap</code> ([atomics.operations]).
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