Which one or more of the following need to be saved on a context switch from one thread (T1) of a process to another thread (T2) of the same process?

A.

Page table base register

B.

Stack pointer

C.

Program counter

D.

General purpose registers

Solution:

Program counter, general purpose registers and stack pointer are updated when a thread T1, of a process switches context to a thread T2 of the same process.