Hello:
I am trying to write a test under Linux 2.2.12 (RHAT 6.1). This involves
processor affinity. In other words, if I have 4 threads created on a 4X
machine, I want to make sure that:
Thread 1 runs on Processor 4
Thread 2 runs on Processor 2
Thread 3 runs on Processor 3
Thread 4 runs on Processor 1
I should be able to decide which thread runs on which processor. I had done
it on WIN32 using (setthaffinity()). Is there a Linux equivalent.
thanks in advance,
-s
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]