Explain how scheduling and priority works in threads?



Explain how scheduling and priority works in threads?..

Answer / Ankur Mittal

Scheduling in threads refers to deciding which thread will be executed next. In Windows, the operating system uses a round-robin scheduling algorithm by default for user mode threads. Priority is used to determine the order in which threads are executed when multiple threads are ready to run. Higher priority threads are more likely to get CPU time before lower priority ones.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Windows Threads Interview Questions

How to share printer through ftp(fire transfer protocol)?

1 Answers  


explain readers-writers problem?

1 Answers  


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

1 Answers  


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

1 Answers   HP, IBM, Reliance,


How to stop a thread?

1 Answers  


Too many times when I click on a sentence a caption comes on Grr a pop up blocker maybe blockiing--however I have pushed the turn off pop up blocker. This only happens on google it does not happen on att.net

1 Answers  


when we browse internet system getting 500 error how will you solve the problem ?

4 Answers   TCS,


Where is taskkill located?

1 Answers  


Explain thread.sleep?

1 Answers  


How do we create threads?

1 Answers  


Explain what is windows daemon?

1 Answers  


What is thread safety? How do you achieve it?

1 Answers  


Categories