What is an idle thread?
Answers were Sorted based on User's Feedback
Answer / guest
The special thread a dispatcher will execute when no ready
thread is found.
| Is This Answer Correct ? | 14 Yes | 6 No |
Answer / subhodip ghosh
In Windows NT operating systems, the System Idle Process
contains one or more kernel threads which run when no other
runnable thread can be scheduled on a CPU. For example,
there may be no runnable thread in the system, or all
runnable threads are already running on a different CPU. In
a multiprocessor system, there is one idle thread associated
with each CPU.
The primary purpose of the idle process and its threads is
to eliminate what would otherwise be a special case in the
scheduler. Without the idle threads, there could be cases
when no threads were runnable, or "Ready" in terms of
Windows scheduling states. Since the idle threads are always
in a Ready state (if not already Running), this can never
happen. Thus whenever the scheduler is called due to the
current thread leaving the CPU, it can always find another
thread to run on that CPU, even if it is only the CPU's idle
thread.
| Is This Answer Correct ? | 6 Yes | 3 No |
What is cascading termination?
Distinguish between PCS and SCS scheduling.
What is the use of paging in operating system?
What is run level 1?
Is 64bit faster than 32?
What is an idle thread?
What is the most used operating system in the world?
How many jobs can be run concurrently on MVT?
What is the difference between soft and hard links?
Give an example of Priority Inversion in Scheduling. What are the consequences of Priority Inversion?
Does dual boot slow down pc?
What is the cause of thrashing? How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?