2005-04-03 03:16:16

by Arun Srinivas

[permalink] [raw]
Subject: setting cpu affinity-help

hi

can someone show me an example usage of sched_setaffinity().I do not know
how to set the affinity mask for a process.please.

thanks
arun

_________________________________________________________________
Marriages at Bharatmatriony.com
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Relationships that
last forever.


2005-04-04 17:46:53

by a.othieno

[permalink] [raw]
Subject: Re: setting cpu affinity-help

On Sun, Apr 03, 2005 at 08:46:12AM +0530, Arun Srinivas wrote:
> hi
>
> can someone show me an example usage of sched_setaffinity().I do not know
> how to set the affinity mask for a process.please.
>
> thanks
> arun

http://www.linuxjournal.com/article/6799

Section "Affinity Masks"

Hope that helps,

Arthur