Github user astitcher commented on the pull request:

    https://github.com/apache/qpid/pull/7#issuecomment-170631466
  
    As a way to implement clock_gettime() this seems like a good approach.
    
    However the bigger problem is the timekeeping between clock_gettime() and 
condition vars need to be the same. So you would either need to reimplement 
condvars to use CLOCK_MONOTONIC (SYSTEM_CLOCK?) or go back to using 
CLOCK_REALTIME in the OSX port.
    
    The reason we changed to CLOCK_MONOTONIC in the first instance is that 
CLOCK_REALTIME can go backwards if the system time is changed and this has bad 
effects on qpid. If OSX/Mach CALENDAR_CLOCK can't go backwards then this isn't 
important, I expect that, given its name, it can go back though.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to