[Boost-bugs] [Boost C++ Libraries] #7808: [Thread] Incorrect description of effects for this_thread::sleep_for and this_thread::sleep_until

Subject: [Boost-bugs] [Boost C++ Libraries] #7808: [Thread] Incorrect description of effects for this_thread::sleep_for and this_thread::sleep_until
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-18 13:39:27


#7808: [Thread] Incorrect description of effects for this_thread::sleep_for and
this_thread::sleep_until
---------------------------------------------------+------------------------
 Reporter: Yasutaka ATARASHI <atara-y@…> | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
---------------------------------------------------+------------------------
 In trunk/libs/thread/doc/thread_ref.qbk,

 effects of `this_thread::sleep_until` is described as:

   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.

 while effects of `this_thread::sleep_for` is described as:

   Suspends the current thread until the time point specified by
   `abs_time` has been reached.

 `rel_time` in `sleep_until` is extra, that is description for `sleep`, and
 description of `sleep_for` should be for `sleep_until`.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7808>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC