apache / celix

Apache Celix is a framework for C and C++14 to develop dynamic modular software applications using component and in-process service-oriented programming.
https://celix.apache.org/
Apache License 2.0
158 stars 85 forks source link

Hotfix/use steady_clock to handle backward system clock adjustments #698

Closed PengZheng closed 6 months ago

PengZheng commented 7 months ago

Monotonic clock should be used to handle backward system clock adjustments correctly. This PR is a tiny "last boy scout rule" cleanup.

codecov-commenter commented 7 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (8956987) 83.47% compared to head (3e1a6b9) 84.25%. Report is 9 commits behind head on master.

:exclamation: Current head 3e1a6b9 differs from pull request most recent head 6e364bb. Consider uploading reports for the commit 6e364bb to get more accurate results

Files Patch % Lines
...te_service_admin_dfi/src/import_registration_dfi.c 0.00% 1 Missing :warning:
libs/framework/include/celix/BundleActivator.h 50.00% 1 Missing :warning:
...ramework/include/celix/dm/ServiceDependency_Impl.h 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #698 +/- ## ========================================== + Coverage 83.47% 84.25% +0.77% ========================================== Files 254 248 -6 Lines 32988 31124 -1864 ========================================== - Hits 27538 26223 -1315 + Misses 5450 4901 -549 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.