summaryrefslogtreecommitdiff
path: root/lib/timer.c
Commit message (Collapse)AuthorAgeFilesLines
* cfm: Fix broken fault logic.Ethan Jackson2011-04-071-0/+13
| | | | | | | | If the last receive time for a remote MP was before the last fault check, the CFM code would not declare a fault. This is, of course, exactly the wrong response. Bug #5303.
* lib: Create new timer library.Ethan Jackson2011-03-311-0/+42
Scattered throughout the code base we use long integers to implement timers. When the result of timer_msec() is greater than the time stored, we preform some action. This commit creates a new timer library intended to replace these manually managed timers. Code using the timer library will be more obviously correct, and more consistent with other code using the library.