Thread policy and priority in secondary mode
Hello,
when a Xenomai POSIX thread switches to secondary mode, how can I define the policy and priority under which it should run under the Linux scheduler, especially, with SCHED_FIFO.
The Xenomai POSIX API function pthread_setschedparam() described in
does switch the thread to primary mode when the SCHED_FIFO policy is specified and therefore cannot be use for the secondary mode.
Wolfgang.
Quoted 6 lines · Wolfgang Grandegger
Hello,
when a Xenomai POSIX thread switches to secondary mode, how can I define the policy and priority under which it should run under the Linux scheduler, especially, with
SCHED_FIFO.
Quoted 7 lines
The Xenomai POSIX API function
pthread_setschedparam()described indoes switch the thread to primary mode when the
SCHED_FIFOpolicy is specified and therefore cannot be use for the secondary mode.
__real_pthread_setschedparam(). Note: this will propagate the priority to the underlying Xenomai thread as well.
Quoted 7 lines
Wolfgang.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.