Use thesched_setaffinityFunction to Limit Process Execution to Certain CPU(s) Nowadays, multi-core hardware is ubiquitous, and operating systems need to manage multiple processes running simultaneously on these cores. The part of the operating system that deals with managing the process/threads executi...