[
https://issues.apache.org/jira/browse/QPID-6699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Ross updated QPID-6699:
------------------------------
Fix Version/s: (was: qpid-cpp-next)
> Improve/clarify the qpid::sys::Time interface
> ---------------------------------------------
>
> Key: QPID-6699
> URL: https://issues.apache.org/jira/browse/QPID-6699
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Broker, C++ Client
> Affects Versions: qpid-cpp-0.34
> Reporter: Ken Giusti
> Assignee: Ken Giusti
>
> Gordon Sim raised a suggestion during a review of a patch for QPID-6698:
> "I do also think that the Time.h should be modified/augmented somehow to make
> issues like this clearer. E.g. a Duration::FromZero() alongside the FromEpoch
> with clear advice as to which to use when? The AbsTime::epoch() method
> subtracts a FromEpoch duration, computed using the realtime clock, from the
> now() which is computed from the monotonic clock. Is that even valid? These
> are arguably separate issues though, just raising tnem for debate."
> I'd like to see the interface changed as per Gordon's description. Clarify
> which APIs deal with realtime (wall clock) and monotonic clocks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]