Link to home
Start Free TrialLog in
Avatar of mike_air
mike_air

asked on

How to redirect threads to specific Processor in MP Enviroment

Hi,
I would like to know if it is possible to manage processes/threads to be proceeded by a specific processor in Multi-Core or Multiple Processor enviroment.

The main idea behind is :
I am using diversified programming (A Code and B Code for the same function).
In order to control possible faults in CPU, I would like to let these two
different functions to be proceeeded in two CPUs.

Eg:
Processors:
-----------
Processor A
Processor B


Threads:
-----------
Thread 1   =-------------->Processor A
Thread 2   =-------------->Processor B
Thread 3   =-------------->Processor A
Thread 4   =-------------->Processor B
Thread 5   =-------------->Processor A
      .                                     .
      .                                     .
      .                                     .

Is that possible to practice that kind of programming.


Regards,
Cem IMRE
ASKER CERTIFIED SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial