On 05/14/2012 09:55 AM, Roberto Bielli wrote:

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 behaviour ? Or which are all the case of
re-scheduling whne calling rt_task_create/rt_task_delete ?

There is no way to avoid rescheduling (assuming you are currently using the user-space API). Creating and deleting tasks involves switching to secondary mode to get/release linux resources it's impossible to access from a primary context.

Thanks of all

P.S. the imx25 now it's perfect. Was only the reentrant interrupt.


Xenomai-core mailing list

Reply via email to