On 06.08.20 14:27, 孙世龙 sunshilong via Xenomai wrote:
Hi, list
As per the Kconfig(
https://gitlab.denx.de/Xenomai/xenomai/-/blob/5714ceede70ccd39b1bf6c41a72cfa94f98e169a/kernel/cobalt/Kconfig
),
which says [emphasise mine]:
Cobalt has a built-in real-time class, which supports both
preemptive fixed-priority FIFO, and **round-robin scheduling**.
Cobalt supports round-robin scheduling whereas
rt_task_create function only supports SCHED_FIFO and SCHED
(
https://xenomai.org/documentation/xenomai-3/html/xeno3prm/group__alchemy__task.html#ga03387550693c21d0223f739570ccd992
).
So, I wonder how to set a real-time task to use round-robin scheduling.
Or, am I missing something?
Look how SCHED_RR is commonly configured, nothing special in Xenomai.
The only specialty is CONFIG_XENO_OPT_RR_QUANTUM.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux