Opened 10 years ago
Closed 10 years ago
#7808 closed Bugs (fixed)
[Thread] Incorrect description of effects for this_thread::sleep_for and this_thread::sleep_until
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.53.0 | Component: | thread |
Version: | Boost Development Trunk | Severity: | Cosmetic |
Keywords: | Cc: |
Description
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 byabs_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
.
Attachments (1)
Change History (6)
comment:1 by , 10 years ago
Milestone: | To Be Determined → Boost 1.53.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
by , 10 years ago
Attachment: | 7808.patch added |
---|
comment:3 by , 10 years ago
Component: | Documentation → thread |
---|
comment:4 by , 10 years ago
Thank you for the fast response.
For sleep_until
,
the time period specified or
could be removed?
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed merge from trunk [82159].
Fix.