CPU affinity?

Joel Sherrill joel.sherrill at oarcorp.com
Fri Apr 7 01:15:00 UTC 2006


May Zhao wrote:

> Hi all,
> Does anybody know if RTEMS have processor affinity (or CPU affinity)
> system call to specify some processes ( or threads ) run on a particular
> processor? Like in Linux, we can use sched_setaffinity() and
> sched_getaffinity(). Thanks a lot.

RTEMS does not dynamically move threads between CPUs.  Your application
is statically divided amongst the nodes so your affinity is predetermined at
link time.

--joel

> May
>




More information about the users mailing list