Any program that runs on a computer makes use of its CPU.
Since modern CPUs are multi-threaded, tasks are split between these cores.
to set the affinity for a program, that program needs to be running in the background.
Here, it’s crucial that you locate the program that you want to set the affinity for.
Right-grab the correct process.
CPU processors
go for the Set Affinity option and youll see a list of your available cores.
Assuming your PC has a quad-core processor, youll see the options All, 0,1,2 and 3.