manoj kumar wrote:
> Hi,
>
> Could any body explain the native task managment api rt_task_slice &
> rt_task_set_mode?
> How these are useful, please explain with example?
>
> I tried to set a time slice for a particuler rt task through
> rt_task_slice but could not get much.
There is no example of how the round-robin mode works. The information
which is not obvious and which you are probably missing is that the
round-robin mode only works if the system timer is set to periodic mode.
To set the system timer to periodic mode, set the configuration option
CONFIG_XENO_OPT_NATIVE_PERIOD to a non null value, or use rt_timer_set_mode.
--
Gilles Chanteperdrix
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help