Thread allocation in multiprocessor system

Hi,
exscuse me for my poor english…

I’m trying to develop a real time multiprocessor metascheduler, so I must be able to allocate a thread on a specific processor.
There is a way to do that?

I try in Linux (Kernel 2.6.3) with the cpu affiniting, therefor the threads are executed on different processors.

Thank you!
Mauro

Yes with ThreadCtl() you can specify the affinity.