posix: clock_settime calculates the base time incorrectly #16143
Labels
area: POSIX
POSIX API Library
area: Timer
Timer
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
If you call
clock_settime
twice with the same non-zero value appears to reset the clock back to 0. I've that disovered that it's caused byclock_settime
performing its internal calculation incorrectly when updating the clock base. I have submitted a pull request which contains some further explanation and a fix #16040.To Reproduce
The text was updated successfully, but these errors were encountered: