Opened on Mar 19, 2002 at 6:34:00 PM
Closed on Mar 29, 2002 at 2:32:24 PM
Last modified on Dec 3, 2006 at 1:31:13 PM
#147 closed defect (fixed)
server based time fires incorrectly
Reported by: | Joel Sherrill | Owned by: | Joel Sherrill |
---|---|---|---|
Priority: | normal | Milestone: | 2 |
Component: | score | Version: | unknown |
Severity: | major | Keywords: | |
Cc: | bugs@… | Blocked By: | |
Blocking: |
Description
In the following scenario, a server based timer fires too early.
Time Action
=============
0 rtems_timer_server_fire_after(timer1, 1000)
0 rtems_task_wake_after(500)
500 rtems_timer_server_fire_after(timer2, 250)
The problem is in the order of syncing the timer server
chain and inserting the new timer. The current order
results in timer2 being inserted before the chain is
adjusted for the 500 ticks which have passed. This
results in timer2 firing immediately because it fires
in 250 ticks which is less than the 500 ticks we
are adjusting.
Release:
RTEMS CVS
Environment:
all BSPs
Attachments (2)
Change History (2)
comment:1 Changed on Mar 29, 2002 at 2:32:24 PM by Joel Sherrill
Status: | assigned → closed |
---|
State-Changed-From-To: working->closed
State-Changed-Why: Patch applied.