On Wed, 2018-04-11 at 16:42 +0200, Philippe Gerum wrote:
> On 04/11/2018 04:39 PM, Mauro Salvini wrote:
> > On Wed, 2018-04-11 at 16:20 +0200, Philippe Gerum wrote:
> > > On 04/11/2018 03:54 PM, Mauro Salvini wrote:
> > > > Hi,
> > > > 
> > > > I'm facing an unexpected behavior of rt_task_wait_period().
> > > > 
> > > > 
> > 
> > ...
> > 
> > > Please try this and let me know if the situation gets any better:
> > 
> > Yes, now it works as expected.
> > 
> > Thank you Philippe.
> > 
> > Best regards.
> > 
> > Mauro
> > 
> > 
> 
> Ok, upstreamed. Thanks.
> 

Hi Philippe,

I resume this thread because when I tried your patch I tried only the
case that didn't work, that is with SET_PERIOD undefined
(so rt_task_set_periodic() not called), and didn't re-test also the
code with rt_task_set_periodic() call. Sorry, my fault.

With this patch applied, when I call rt_task_set_periodic() (SET_PERIOD
defined), rt_task_wait_period() returns -EWOULDBLOCK as if
rt_task_set_periodic() was never called.

Thanks in advance, regards

Mauro


_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to