[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-commit
Subject:    [Boost-commit] svn:boost r41495 - sandbox/committee/LWG
From:       hinnant () twcny ! rr ! com
Date:       2007-11-30 16:19:27
Message-ID: 20071130161927.B09162F8160 () wowbagger ! osl ! iu ! edu
[Download RAW message or body]

Author: hinnant
Date: 2007-11-30 11:19:27 EST (Fri, 30 Nov 2007)
New Revision: 41495
URL: http://svn.boost.org/trac/boost/changeset/41495

Log:
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>
 
-<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>
 
 <li>Non-normative parameter names use &lt;var&gt; phrase markup.
@@ -990,17 +990,9 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-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>
-<b>[Crowl:
-Why does <code>this_thread::get_id()</code>
-depend on <code>is_joinable()</code>?
-The <code>id</code> values will be preserved elsewhere.
-]</b>
+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>.
 </dd>
 
 <dt>Throws:</dt>
@@ -1646,9 +1638,9 @@
 
 <blockquote>
 <pre><code>
-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 mailing list
Boost-commit@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic