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



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

Answer / 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

More Windows Threads Interview Questions

How do we create threads?

1 Answers  


Which protocol is working behind dhcp server? And what exactly dora does?

1 Answers  


What are three ways in which a thread can enter the waiting state?

1 Answers  


What is the impact if DNS Server fails?

2 Answers   Mphasis,


what are the reasons of rebooting the system?

11 Answers   HCL, HP, Mphasis,


What are the benefits of multithreaded programming?

1 Answers  


if thread a,b,c have Max,Min,Normal priorty what is N0. in below set they correspond to.Something like (2,0,1)

1 Answers   Honeywell,


what are the different types of codes in thread in windows os?

1 Answers   HP, IBM, Reliance,


Can you explain too many times when I click on a sentence a caption comes on grr a pop up blocker maybe blocking--however I have pushed the turn off pop up blocker. This only happens on google it does not happen on att.net?

1 Answers  


Is kill ping a virus?

1 Answers  


What's the difference in using runnable and extends in threads?

1 Answers  


What are types of threads?

1 Answers  


Categories