Hi,
Just wondering, is it possible to set the cpu affinity of a specific thread?
I know pthread_setrunon_np() will set the cpu affinity of the current thread,
but I'd like to set the affinity of other threads. Anyone know if this is possible?
thx
Printable View
Hi,
Just wondering, is it possible to set the cpu affinity of a specific thread?
I know pthread_setrunon_np() will set the cpu affinity of the current thread,
but I'd like to set the affinity of other threads. Anyone know if this is possible?
thx
On Mon, 22 Sep 2003, Steven Wong wrote:
[color=blue]
> Just wondering, is it possible to set the cpu affinity of a specific thread?
> I know pthread_setrunon_np() will set the cpu affinity of the current thread,
> but I'd like to set the affinity of other threads. Anyone know if this is possible?[/color]
I just took a look through the related kernel and Pthreads code, and
it appears there is no way to do this as IRIX stands today. That's
not to say it would be difficult to add, just that there are no
hooks to make it happen in the current code.
Brent
--
Brent Casavant [email]bcasavan@sgi.com[/email] Forget bright-eyed and
Operating System Engineer [url]http://www.sgi.com/[/url] bushy-tailed; I'm red-
Silicon Graphics, Inc. 44.8562N 93.1355W 860F eyed and bushy-haired.