The
thread library function performs the following actions to context switch between user
level threads
a) Copy all live registers to Thread control Block (TCB)
b) Restore the state of the thread to run
next i.e (copy the values of live registers from (TCB) to registers)
c) Move to the next thread to execute
No comments:
Post a Comment