* [Xenomai-core] Fwd: How to fix static priority to processes known in advance [not found] <985eb86f0911030429i5c419a6ak8f6e1f2a43250819@domain.hid> @ 2009-11-03 16:15 ` tarek ben ali 2009-11-04 10:15 ` Gilles Chanteperdrix 0 siblings, 1 reply; 3+ messages in thread From: tarek ben ali @ 2009-11-03 16:15 UTC (permalink / raw) To: rpm; +Cc: xenomai [-- Attachment #1: Type: text/plain, Size: 409 bytes --] ---------- Forwarded message ---------- From: tarek ben ali <tarekbenali@domain.hid> Date: 2009/11/3 Subject: How to fix static priority to processes known in advance To: xenomai@xenomai.org Hi All, I am beginner to Xenomai i have implemented Xenomai 2.4.5 on a 2.6.26 Kernel.I'm wondering how can I set priority to processes known in advance,some ideas or code please.I count on your boost. regards, Tarek [-- Attachment #2: Type: text/html, Size: 700 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] Fwd: How to fix static priority to processes known in advance 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> 0 siblings, 1 reply; 3+ messages in thread From: Gilles Chanteperdrix @ 2009-11-04 10:15 UTC (permalink / raw) To: tarek ben ali; +Cc: xenomai tarek ben ali wrote: > > > ---------- Forwarded message ---------- > From: *tarek ben ali* <tarekbenali@domain.hid <mailto:tarekbenali@domain.hid>> > Date: 2009/11/3 > Subject: How to fix static priority to processes known in advance > To: xenomai@xenomai.org <mailto:xenomai@xenomai.org> > > > Hi All, > I am beginner to Xenomai i have implemented Xenomai 2.4.5 on a 2.6.26 > Kernel.I'm wondering how can I set priority > to processes known in advance,some ideas or code please.I count on your > boost. > regards, > Tarek You can not do that, every task has to know its priority, and set it, or can be created with a specific priority. -- Gilles ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <985eb86f0911040238w2497849et58282e8b7840d60e@domain.hid>]
* Re: [Xenomai-help] [Xenomai-core] Fwd: How to fix static priority to processes known in advance [not found] ` <985eb86f0911040238w2497849et58282e8b7840d60e@domain.hid> @ 2009-11-04 10:43 ` Gilles Chanteperdrix 0 siblings, 0 replies; 3+ messages in thread From: Gilles Chanteperdrix @ 2009-11-04 10:43 UTC (permalink / raw) To: tarek ben ali; +Cc: Xenomai help 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-04 10:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 ` [Xenomai-help] " 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.