qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Giusti (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6699) Improve/clarify the qpid::sys::Time interface
Date Tue, 18 Aug 2015 13:15:45 GMT
Ken Giusti created QPID-6699:
--------------------------------

             Summary: 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
             Fix For: qpid-cpp-next


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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message