adspace
Explain how scheduling and priority works in threads?
Answer Posted / 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 View All Answers