On 7/18/07, Philippe Gerum <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-07-17 at 21:30 +0200, Gilles Chanteperdrix wrote:
> > The attached patch fixes this, though I am not sure it is the best way
> > to fix it.
> Looks good.  The only thing that still bothers me is that, at some
> point, it seems that we are triggering an immediate shot. Even if this
> situation is clearly possible in the real environment, I find it a bit
> suspicious in the simulated one. Maybe this is related to the timer
> adjustement code that may raise such situation (which would explain it
> then)?

Yes, this is because of the timer adjustment code. We enqueue timers
with an already passed expiry date, so the timer code ends up calling
xnarch_program_timer_shot with a null delay.

                                               Gilles Chanteperdrix

Xenomai-core mailing list

Reply via email to