summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-21 15:40:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-21 15:40:00 +0000
commitff6b3fe78119c36d31cfb69c4df02304fb602610 (patch)
treeb2871ecd946e1cb855381bc21a037bfdec8a04d6 /cpukit/rtems
parent2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-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.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/src/timerserver.c6
1 files changed, 6 insertions, 0 deletions
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();
}
+
}
/**