What is an idle thread?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some memory components.

584


What is validity fault?

586


How much ram can a 32 bit os use?

524


How can two processes communicate with one another?

491


What do you call a bootable disk that contains a full usable os?

539






How do I empty my mac cache?

542


Are there any problems that the cpu faces? Have any measures been taken to make it more efficient?

738


What is fragmentation?

598


What is turnaround time?

570


What is tty stand for?

576


What is the full form itc?

536


How do I uninstall remnants of uninstalled programs?

444


What is short term scheduler in operating system (os)?

584


What is the difference between logical address space and physical address space?

542


What are banks in reference to ram?

587