On 13.05.20 07:31, 孙世龙 via Xenomai wrote:
Hi, I wonder that whether the xenomai regular thread whose schedule policy is *SCHED_OTHER* *has more opportunities to occupy the cpu resources* then the normal linux thread which managed by linux? Even if the linux thread with *SCHED_FIFO * schedule policy?
Yes, that happens for Xenomai-attached thread when they enter the real-time domain, e.g. while holding a Xenomai lock. At that point, they are above any regular Linux thread by nature - because they have to in order to not break the scheduling requirements of the RT domain.
Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux