Changeset 77b0a73 in rtems for cpukit/score

Timestamp:
03/07/06 22:10:35 (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
360d9da
Parents:
d5ed9e1
Message:

2006-03-07 Steven Johnson <sjohnson@…>

PR 850/rtems

  • score/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)

Note: See TracChangeset for help on using the changeset viewer.