public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Airlie <airlied@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: sched_setscheduler and pids/threads
Date: Thu, 10 Mar 2005 15:12:57 +1100	[thread overview]
Message-ID: <21d7e9970503092012475049db@mail.gmail.com> (raw)

Hi all,

I'm a bit confused over 2.6 threading with respects to real time
scheduling settings...

In 2.6 all my threads appear as a single PID, if I use chrt -p <pid>
will it set the scheduling priority for my main thread or for all
threads in the application?

Can I used the thread IDs from /proc/<pid>/task/ to chrt the other
threads in my app to different priorities?

Thanks,
Dave.

             reply	other threads:[~2005-03-10  4:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-10  4:12 Dave Airlie [this message]
2005-03-10  4:33 ` sched_setscheduler and pids/threads Robert Love

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=21d7e9970503092012475049db@mail.gmail.com \
    --to=airlied@gmail.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox