Saturday, 24 March 2018

Describe the actions taken by thread library to context switch between user level threads?

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

Java - Operations

3.1  Arithmetic Operators Java supports the following arithmetic operators: Operator Description Usage Exampl...