From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F55D7F3.8020503@domain.hid> Date: Tue, 06 Mar 2012 10:25:07 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Specifying/changing the number of CPU core's in xenomai: - reg List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: SUBRAMANIAN NATESAN Cc: xenomai@xenomai.org 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.