Previous | Next --- Slide 8 of 44
Back to Lecture Thumbnails
srb

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.