* [Xenomai-help] Help regarding Native API
@ 2007-03-07 12:47 manoj kumar
2007-03-07 14:26 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: manoj kumar @ 2007-03-07 12:47 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
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.
Thanks in advance,
Manoj
[-- Attachment #2: Type: text/html, Size: 390 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Help regarding Native API
2007-03-07 12:47 [Xenomai-help] Help regarding Native API manoj kumar
@ 2007-03-07 14:26 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2007-03-07 14:26 UTC (permalink / raw)
To: manoj kumar; +Cc: xenomai
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-07 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-07 12:47 [Xenomai-help] Help regarding Native API manoj kumar
2007-03-07 14:26 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.