Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62632 - trunk/libs/thread/doc
From: anthony_at_[hidden]
Date: 2010-06-09 02:48:37


Author: anthonyw
Date: 2010-06-09 02:48:37 EDT (Wed, 09 Jun 2010)
New Revision: 62632
URL: http://svn.boost.org/trac/boost/changeset/62632

Log:
Added documentation for this_thread::sleep overload that takes a
system_time. see issue #3179

Text files modified:
   trunk/libs/thread/doc/thread_ref.qbk | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/libs/thread/doc/thread_ref.qbk
==============================================================================
--- trunk/libs/thread/doc/thread_ref.qbk (original)
+++ trunk/libs/thread/doc/thread_ref.qbk 2010-06-09 02:48:37 EDT (Wed, 09 Jun 2010)
@@ -811,11 +811,14 @@
     {
         template<typename TimeDuration>
         void sleep(TimeDuration const& rel_time);
+ void sleep(system_time const& abs_time)
     }
 
 [variablelist
 
-[[Effects:] [Suspends the current thread until the specified time has elapsed.]]
+[[Effects:] [Suspends the current thread until the time period
+specified by `rel_time` has elapsed or the time point specified by
+`abs_time` has been reached.]]
 
 [[Throws:] [__thread_interrupted__ if the current thread of execution is interrupted.]]
 


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