Previous | Next --- Slide 16 of 65
Back to Lecture Thumbnails
sbly

How are the different pthreads assigned to processors? Is this dictated by the programmer, compiler, OS, or hardware?

kayvonf

The OS is responsible for assigning logical operating system threads to physical hardware execution contexts. An OS context switch involves copying the state of an execution context off the processor and saving it in memory, and replacing it with another (previously saved) execution context.

A good discussion about this is unfolding on slide 52.