diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-21 15:40:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-21 15:40:00 +0000 |
commit | ff6b3fe78119c36d31cfb69c4df02304fb602610 (patch) | |
tree | b2871ecd946e1cb855381bc21a037bfdec8a04d6 | |
parent | 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-ff6b3fe78119c36d31cfb69c4df02304fb602610.tar.bz2 |
2009-05-21 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1413/cpukit
* rtems/src/timerserver.c: Fix bug where server based timers which
reinitiated themselves did not get reinserted onto timer chain.
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/rtems/src/timerserver.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 173a19c3c6..7e18b8ce32 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2009-05-21 Joel Sherrill <joel.sherrill@OARcorp.com> + + PR 1413/cpukit + * rtems/src/timerserver.c: Fix bug where server based timers which + reinitiated themselves did not get reinserted onto timer chain. + 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com> PR 1412/cpukit diff --git a/cpukit/rtems/src/timerserver.c b/cpukit/rtems/src/timerserver.c index 9c4ea90b50..ae36aa9591 100644 --- a/cpukit/rtems/src/timerserver.c +++ b/cpukit/rtems/src/timerserver.c @@ -137,7 +137,13 @@ static void _Timer_Server_process_insertions(void) } else if ( the_timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) { _Watchdog_Insert( &_Timer_Seconds_chain, &the_timer->Ticker ); } + + /* + * Insert the timers that have been requested to be inserted. + */ + _Timer_Server_process_insertions(); } + } /** |