Changeset ede4f16 in rtems
- Timestamp:
-
03/07/06 22:09:49
(18 years ago)
- Author:
- Joel Sherrill <joel.sherrill@…>
- Children:
- ca6df52
- Parents:
- 5b07faf
- Message:
-
2006-03-07 Steven Johnson <sjohnson@…>
PR 850/rtems
- src/watchdogtickle.c: A Watchdog (used to timeout an event) with
a delay of 1 sometimes does not seem to timeout. The problem
occurs, because for whatever reason when the watchdog tickle function
executes, the watchdog->delta_interval is 0. it is then decremented
before being tested, becomes huge and so doesnt time out. It is
thought there is a race condition where the watchdog->delta_interval
is calculated by reference to a head (also with a delay of 1). But
before it can be added after the head, the head is removed, so the
new head now has a delay of 0.
-
(No files)
-