All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: "Thomas, Brieuc (GE Healthcare)" <Brieuc.Thomas@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_task_slice() Behaviour
Date: Thu, 27 Apr 2006 12:26:48 +0200	[thread overview]
Message-ID: <44509C68.8020808@domain.hid> (raw)
In-Reply-To: <5B122FD931231D408AC32630D1B1F7290AF754C6@domain.hid>

Thomas, Brieuc (GE Healthcare) wrote:
> Hello,
> 
>  
> 
> I read everywhere than Xenomai scheduler supports round-robin policies, 
> but I don't find any explanation or example about how to manage it.
> 
> I used a Native API, my configuration is: 
> status=periodic:setup=202:tickval=1000000:..
> 
> And I would like to have a RR behaviour with a time slice to 10ms, and 
> the only function than I found to do that is "rt_task_slice(&task, 10)" 
> : but there is no behaviour change.
> 
> I tried to use xnpod_activate_rr, but I can't include pod.h without any 
> errors. I think it's a stupid question but what I forget to do?
> 
>  
> 

rt_task_set_mode(0,T_RRB,NULL) from the task that wants to undergo the 
RR scheduling, after having called rt_task_slice to setup the time credit.

-- 

Philippe.


      reply	other threads:[~2006-04-27 10:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-27  9:46 [Xenomai-help] rt_task_slice() Behaviour Thomas, Brieuc (GE Healthcare)
2006-04-27 10:26 ` Philippe Gerum [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=44509C68.8020808@domain.hid \
    --to=rpm@xenomai.org \
    --cc=Brieuc.Thomas@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.