pnoltes opened a new issue, #587: URL: https://github.com/apache/celix/issues/587
For Linux, the celix functions `celixThreadCondition_waitUntil`, `celixThreadCondition_timedwaitRelative`, `celixThreadCondition_getTime` and `celixThreadCondition_getDelayedTime` are based on a monotonic time to prevent unsteady behavior due to OS sleeps or time updates. This is possible because the `celixThreadCondition_init` function initializes the underlining thread condition with time MONOTONIC. For OSX this is not possible. Currently for OSX a relative sleep is calculated and a call to `pthread_cond_timedwait_relative_np` is used. Based on test result this seems unsteady, but further investigation is needed. There is also not a lot of documentation for `pthread_cond_timedwait_relative_np`. Does it even return a ETIMEDOUT code? If this is updated the following test can be reenabled: ScheduledEventTestSuite, ScheduledEventTimeoutLogTest And the error margin in ScheduledEventTestSuite and ThreadsTestSuite can be made stricter. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org