#1413 closed defect (fixed)

anomalous behavior of timer server scheduling in RTEMS 4.10(CVS)

Reported by: pierre kestener Owned by: Joel Sherrill
Priority: normal Milestone: 4.10
Component: score Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Anomalous behavior of timer server scheduling can be observed on the output of class example "timer" : in this example 2 timers with a 2-seconds period are launched with a delay od 1 second between them. If the timers are re-scheduled using the method "rtems_timer_server_fire_after" then, one can see that the timers fire in an interleaved way but with a delay of 2 seconds between them instead of 1 second as expected.

The problem was diagnosed by Joel Sherrill to be in the timer server body. The patch provided solves this problem (add a call to _Timer_Server_process_insertions() ).

Attachments (1)

pr1413.diff (621 bytes) - added by Joel Sherrill on 05/21/09 at 14:40:13.
patch for 4.9 and head

Download all attachments as: .zip

Change History (2)

Changed on 05/21/09 at 14:40:13 by Joel Sherrill

Attachment: pr1413.diff added

patch for 4.9 and head

comment:1 Changed on 05/21/09 at 14:51:57 by Joel Sherrill

Resolution: fixed
Status: newclosed

Patch committed. sp50 added

Note: See TracTickets for help on using tickets.