Re: [Xenomai-core] rt_task_create and rt_task delete re-scheduling calling task

2012-05-14 Thread Gilles Chanteperdrix
On 05/14/2012 09:55 AM, Roberto Bielli wrote: > P.S. the imx25 now it's perfect. Was only the reentrant interrupt. By the way, now that Linux runs all interrupt handlers with hardware irq disabled, this option is completely useless: it will prevent a low priority irq to interrupt a low priority i

Re: [Xenomai-core] rt_task_create and rt_task delete re-scheduling calling task

2012-05-14 Thread Philippe Gerum
On 05/14/2012 09:55 AM, Roberto Bielli wrote: Hi, i saw in the documentation that rt_task_create and rt_task_delete should re-scheduling the calling task. So i lost the priority if in a task try to call rt_task_create or rt_task create. Do i understand correctly ? Is there a way to avoid this be

Re: [Xenomai-core] rt_task_create and rt_task delete re-scheduling calling task

2012-05-14 Thread Gilles Chanteperdrix
On 05/14/2012 09:55 AM, Roberto Bielli wrote: > Hi, > > i saw in the documentation that rt_task_create and rt_task_delete should > re-scheduling the calling task. rt_task_create may reschedule the calling task, only "may", not "should". And it happens in the obvious case: when creating a task wi