From 43fe77c23bb2c4dbfe8708dc5147c00232dbde8f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 May 2009 15:39:51 +0000 Subject: [PATCH] 2009-05-21 Joel Sherrill PR 1413/cpukit * rtems/src/timerserver.c: Fix bug where server based timers which reinitiated themselves did not get reinserted onto timer chain. --- cpukit/ChangeLog | 6 ++++++ cpukit/rtems/src/timerserver.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 4525913997..5c1824093a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2009-05-21 Joel Sherrill + + 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-20 Joel Sherrill * librpc/src/xdr/xdr_float.c: Change detection logic for h8300. diff --git a/cpukit/rtems/src/timerserver.c b/cpukit/rtems/src/timerserver.c index 02fe52b248..25e4ba9df3 100644 --- a/cpukit/rtems/src/timerserver.c +++ b/cpukit/rtems/src/timerserver.c @@ -316,7 +316,13 @@ rtems_task _Timer_Server_body( (*watch->routine)( watch->id, watch->user_data ); } + + /* + * Insert the timers that have been requested to be inserted. + */ + _Timer_Server_process_insertions(); } + } /**