timer server fire when with time adjust
sergio.faustino at edisoft.pt
Mon Jun 8 15:19:19 UTC 2009
Ok! No problem.
Here it goes.
At line 65 is the rtems_timer_server_fire_when call, if you replaced with
(comment) ln 64 the test works fine.
On Monday 08 June 2009 15:37:14 you wrote:
> Could be a bug. Can you submit a small self-contained
> test case?
> Sergio Faustino wrote:
> > Hi
> > I've been looking at RTEMS for some time and now I have a doubt regarding
> > the time management in RTEMS.
> > The user manual states that:
> > "The rtems_clock_set directive allows a task or an ISR to set the date
> > and time maintained by RTEMS. If setting the date and time causes any
> > outstanding timers to pass their deadline, then the expired timers will
> > be fired during the invocation of the rtems_clock_set directive."
> > From my understanding, this is also applicable to timers fired by the
> > timer server.
> > However, when I tested this, this does not appear to be working (on RTEMS
> > 4.8.0).
> > The test basically consists of creating and firing 3 timers with the
> > rtems_timer_server_wake_when routine. When a rtems_clock_set is done (to
> > a forward time) the timers should fire immediatly but, in reality, they
> > fire later on.
> > The same test with rtems_timer_fire_when (without the timer server) works
> > properly.
> > I guess this could be an RTEMS bug...
> > Best Regards,
> > Sergio Faustino
> > _______________________________________________
> > rtems-users mailing list
> > rtems-users at rtems.org
> > http://www.rtems.org/mailman/listinfo/rtems-users
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1831 bytes
Desc: not available
More information about the users