All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: manoj kumar <manojkpanghal@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Help regarding Native API
Date: Wed, 07 Mar 2007 15:26:45 +0100	[thread overview]
Message-ID: <45EECBA5.1090205@domain.hid> (raw)
In-Reply-To: <528bc2040703070447nae71f36yea1a972966fa6457@domain.hid>

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


      reply	other threads:[~2007-03-07 14:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-07 12:47 [Xenomai-help] Help regarding Native API manoj kumar
2007-03-07 14:26 ` Gilles Chanteperdrix [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45EECBA5.1090205@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=manojkpanghal@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.