All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: tarek ben ali <tarekbenali@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>, xenomai@xenomai.org
Subject: Re: [Xenomai-core] setting priority
Date: Thu, 05 Nov 2009 10:44:39 +0100	[thread overview]
Message-ID: <4AF29E87.9090401@domain.hid> (raw)
In-Reply-To: <985eb86f0911050120l3a989588ida812a9394659a78@domain.hid>

tarek ben ali wrote:
> 
> I'm trying to set priority to a specified process on including its
> PID,the code below is running BUT after allocating priority and policy 
> the output of "top" commande seems not changing(the priority of the
> process specified is still the same).Is there any explanation please?

Here we know a few things or two about Xenomai, not about top. So, I
have no idea. Now, if you are trying to set the priority of a Xenomai
thread using Xenomai posix skin, as I already told you in the previous
mail, you have to use services described here, not sched_setscheduler:

http://www.xenomai.org/documentation/xenomai-2.4/html/api/group__posix__sched.html

-- 
                                          Gilles



  reply	other threads:[~2009-11-05  9:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-05  9:20 [Xenomai-core] setting priority tarek ben ali
2009-11-05  9:44 ` Gilles Chanteperdrix [this message]
2009-11-05 13:38   ` tarek ben ali
2009-11-05 13:42     ` Gilles Chanteperdrix

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=4AF29E87.9090401@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.