Re: [Xenomai-help] Specifying/changing the number of CPU core's in xenomai: - reg

2012-03-06 Thread Gilles Chanteperdrix
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.

___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help


[Xenomai-help] Specifying/changing the number of CPU core's in xenomai: - reg

2012-03-05 Thread SUBRAMANIAN NATESAN
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?


-- 
Regards,
Subramanian.
___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help