Gilles Chanteperdrix wrote:
> Henri Roosen wrote:
>> We have the same requirement for which we also have no solution. One
>> of our threads has a configurable priority of which at the lowest
>> priority the thread should behave like an idle task that is only
>> scheduled when all xenomai threads are idle and also the Linux domain
>> is idle. The thread might use rtdm-drivers and xenomai mutexes and
>> therefore has to be moved to the Xenomai domain. But then it always
>> has higher priority than any threads scheduled in linux.
Ok. Got it. So what we want is that a thread with SCHED_IDLE priority is
less priority than a thread running with SCHED_OTHER scheduling policy.
Now, giving it a lower priority than other Linux thread probably
requires defining a new scheduling policy for Xenomai, yes.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help