adspace


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

Answer Posted / Akhilendra Kumar Singh

The thread library manages context switches between user-level threads. When a thread needs to yield the CPU, it saves its state (registers and stack pointer) in the Thread Control Block (TCB). The thread library then locates the TCB of the next thread, restores its state into the registers, and transfers control to that thread.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one know about NIC (National Informatics Centre) questions Patterns and full detail about written exam, and interview send to softshikha2005@yahoo.com.in Thank you

2160