From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: SUBRAMANIAN NATESAN <yenyes88@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Specifying/changing the number of CPU core's in xenomai: - reg
Date: Tue, 06 Mar 2012 10:25:07 +0100 [thread overview]
Message-ID: <4F55D7F3.8020503@domain.hid> (raw)
In-Reply-To: <CADAaWNVt-wbM0oNCxOK_Gm7R4A53UVECaYYiWPvUDGQFzSdffg@domain.hid>
On 03/06/2012 07:46 AM, SUBRAMANIAN NATESAN wrote:
> Hi,
>
> In a multi-core environment, is it possible in xenomai, to specify the cpu
> cores which should or should not be used? Like if there are 4 cores, can we
> specify, that core 2 need not be used at all, dynamically, during the
> execution of a real time task?
You can use sched_setaffinity to set the CPU on which a task should run.
--
Gilles.
prev parent reply other threads:[~2012-03-06 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 6:46 [Xenomai-help] Specifying/changing the number of CPU core's in xenomai: - reg SUBRAMANIAN NATESAN
2012-03-06 9:25 ` 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=4F55D7F3.8020503@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
--cc=yenyes88@domain.hid \
/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.