Boost logo

Boost-Commit :

From: hinnant_at_[hidden]
Date: 2007-12-01 12:49:41


Author: hinnant
Date: 2007-12-01 12:49:41 EST (Sat, 01 Dec 2007)
New Revision: 41537
URL: http://svn.boost.org/trac/boost/changeset/41537

Log:
added "or clause" to thread::get_id to address case where the thread object does not represent a thread of execution
Text files modified:
   sandbox/committee/LWG/thread_library.html | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-12-01 12:49:41 EST (Sat, 01 Dec 2007)
@@ -908,9 +908,10 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>this_thread::get_id()f</code>or the thread
+<code>this_thread::get_id()</code> for the thread
 represented by
-<code>*this.</code>
+<code>*this</code>,
+or a default constructed <code>id</code> if <code>*this</code> does not represent a thread.
 </dd>
 
 <dt>Throws:</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