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.

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?

On 2/14/07, Jan Kiszka <[EMAIL PROTECTED]> wrote:

Preetam Joshi wrote:
> Hi ,
>
> Its working now .
>
> But how do i set a scheduling policy say FIFO for a real time task . ?

Depends on the skin you use. Please have a look at the available API
documentation regarding how to set priorities or scheduling policies.

Jan



_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to