Preetam Joshi wrote: > Hi, > > Do u mean to say that if i have created my tasks using native xenomai API's > like rt_task_create , then inside those tasks i will have to use posix skin > calls like pthread_setschedpolicy, etc...? > > Is that so.
Nope. If you picked the native skin API, all scheduler setup for a RT task should be done through that interface. > > Cant i just have context switch between the tasks themselves say low > priority and a high priority task created by rt_task_create. > > Reason being i have created two tasks using the rt_task_create API and my > high priority task is runnning and my low priority task has slept, so as > soon as my low priority task has expired its sleep time and gets ready to > run, > > The low priority task preempts my high priority task and even its priority > gets raised to that of the high priority task and starts executing. The > higgh priority task gets suspended altogether amidst its running. Simply > baffled by the behavior? If you have found a weird behaviour of Xenomai, please post some as-small-as-possible demo code that exposes the issue. We will have a look at it. Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
