Created on 2009-06-28.00:00:00 last changed 161 months ago
Proposed resolution:
Change Timing specifications [thread.req.timing] as indicated:
The member functions whose names end in _for take an argument that specifies a relative time. Implementations should use a monotonic clock to measure time for these functions. [Note: Implementations are not required to use a monotonic clock because such a clock may be unavailable. — end note]
[ 2010 Pittsburgh: Moved to Ready. ]
[ 2010-03-06 Beman updates wording. ]
[ 2010-02-24 Pete moved to Open: ]
LWG 1158's proposed resolution replaces the ISO-specified normative term "should" with "are encouraged but not required to", which presumably means the same thing, but has no ISO normative status. The WD used the latter formulation in quite a few non-normative places, but only three normative ones. I've changed all the normative uses to "should".
[ 2009-10-31 Howard adds: ]
Set to Tentatively Ready after 5 positive votes on c++std-lib.
Addresses UK 322, US 96
Description
Not all systems can provide a monotonic clock. How are they expected to treat a _for function?
Suggestion
Add at least a note explaining the intent for systems that do not support a monotonic clock.
Notes
Create an issue, together with UK 96. Note that the specification as is already allows a non-monotonic clock due to the word “should” rather than “shall”. If this wording is kept, a footnote should be added to make the meaning clear.
[ 2009-06-29 Beman provided a proposed resolution. ]
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
2010-10-21 18:28:33 | admin | set | messages: + msg954 |
2010-10-21 18:28:33 | admin | set | messages: + msg953 |
2010-10-21 18:28:33 | admin | set | messages: + msg952 |
2010-10-21 18:28:33 | admin | set | messages: + msg951 |
2010-10-21 18:28:33 | admin | set | messages: + msg950 |
2009-06-28 00:00:00 | admin | create |