On Wed, 2007-07-18 at 10:03 +0200, Gilles Chanteperdrix wrote:
> 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.
> 

Then your patch is definitely ok. Will merge for -rc2 along with the
timer adjustment code.

-- 
Philippe.



_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to