|
|
Set affinity to pthreads from a thread to another
|
|
05/03/2010 12:11 PM
post53434
|
Set affinity to pthreads from a thread to another
Hi everyone,
I have a simple question for you:
Is there an API (or a workaround) that allows a (posix) thread to set the affinity of another thread? Actually the only
interface to mangle thread affinity is the ThreadCtl api that, unfortunatelly, just allows to change the affinity of the
calling thread.
Is there an equivalent of the Linux pthread_setaffinity_np?
Thanks in advance,
Primiano
|
|
|
|
|