The operating system is responsible for choosing what threads execute on the processor.
kshitizdange
Or you could make your application chose which processor to run on by setting its affinity. Have tried this on ARM processors.
machine6
To be more precise, the operating system is responsible for choosing which threads map onto which execution contexts, and then the hardware (the core) decides which thread to grab and run.
The operating system is responsible for choosing what threads execute on the processor.
Or you could make your application chose which processor to run on by setting its affinity. Have tried this on ARM processors.
To be more precise, the operating system is responsible for choosing which threads map onto which execution contexts, and then the hardware (the core) decides which thread to grab and run.