Boost logo

Boost-Commit :

From: hinnant_at_[hidden]
Date: 2007-11-30 11:19:27

Author: hinnant
Date: 2007-11-30 11:19:27 EST (Fri, 30 Nov 2007)
New Revision: 41495

updated this_thread::get_id returns clause and comments after defer_lock_t et al
Text files modified:
   sandbox/committee/LWG/thread_library.html | 22 +++++++---------------
   1 files changed, 7 insertions(+), 15 deletions(-)

Modified: sandbox/committee/LWG/thread_library.html
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-11-30 11:19:27 EST (Fri, 30 Nov 2007)
@@ -153,7 +153,7 @@
 <li>Use HTML entities rather than non-ASCII characters.
-<li>CSS is used on ly in the &lt;style&gt; head block.
+<li>CSS is used only in the &lt;style&gt; head block.
 <li>Non-normative parameter names use &lt;var&gt; phrase markup.
@@ -990,17 +990,9 @@
-If the current thread is joinable,
-returns an object of type <code>thread::id</code>
-that uniquely identifies the current thread
-and does not compare equal to a default constructed <code>thread::id</code>,
-else returns
-a default constructed <code>thread::id</code>
-Why does <code>this_thread::get_id()</code>
-depend on <code>is_joinable()</code>?
-The <code>id</code> values will be preserved elsewhere.
+An object of type <code>thread::id</code> that uniquely identifies
+the current thread of execution. The object returned shall not compare
+equal to a default constructed <code>thread::id</code>.
@@ -1646,9 +1638,9 @@
-struct defer_lock_t {}; // obtain the lock sometime after construction
-struct try_to_lock_t {}; // do not wait to obtain the lock
-struct adopt_lock_t {}; //
+struct defer_lock_t {}; // do not obtain the lock
+struct try_to_lock_t {}; // try to obtain the lock without blocking
+struct adopt_lock_t {}; // assume the lock is already obtained and take ownership of it
 extern const defer_lock_t defer_lock;
 extern const try_to_lock_t try_to_lock;

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at