From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: tarek ben ali <tarekbenali@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] [Xenomai-core] Fwd: How to fix static priority to processes known in advance
Date: Wed, 04 Nov 2009 11:43:45 +0100 [thread overview]
Message-ID: <4AF15AE1.9040402@domain.hid> (raw)
In-Reply-To: <985eb86f0911040238w2497849et58282e8b7840d60e@domain.hid>
tarek ben ali wrote:
> Thanks for your reply,
> Can I do this with /sched_setscheduler/()
> <http://www.opengroup.org/onlinepubs/000095399/functions/sched_setscheduler.html>
> function by indicates the pid of the process that I want to set its
> priority?
>
sched_setscheduler() allows to set the priority of an existing process.
sched_setscheduler() does not set the priorities of Xenomai threads.
Anyway, when running Xenomai, you usually want to give a high priority
only to some particular threads. See:
http://www.xenomai.org/documentation/xenomai-2.4/html/api/group__posix__sched.html
--
Gilles
prev parent reply other threads:[~2009-11-04 10:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <985eb86f0911030429i5c419a6ak8f6e1f2a43250819@domain.hid>
2009-11-03 16:15 ` [Xenomai-core] Fwd: How to fix static priority to processes known in advance tarek ben ali
2009-11-04 10:15 ` Gilles Chanteperdrix
[not found] ` <985eb86f0911040238w2497849et58282e8b7840d60e@domain.hid>
2009-11-04 10:43 ` 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=4AF15AE1.9040402@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=tarekbenali@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.