forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[syncd] Use steady clock for TimerWatchdog (sonic-net#613)
Clock can rollback in big jumps and this causes TimerWatchdog to through and crashes syncd. This code uses steady clock instead. Steady clock is guaranteed to be monotonically increasing clock. signed-of-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
- Loading branch information
1 parent
e50cf66
commit 88a1982
Showing
2 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters