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 briefly about assembler and its functioning?

736


What are deadlock prevention techniques?

819


What is scsi?

879


What is the dispatcher?

763


Difference between NTFS and FAT32?

747






What is Real Time Operating System (RTOS)? What are the advantages of RTOS?

801


Explain condition variable.

732


Why is it that a single, all – encompassing metric cannot be developed for programme complexity or programme quality?

1830


How does dynamic loading aid in better memory space utilization?

1239


What does the 400 mhz signify in a ram specification?

717


Explain the concept of the timesharing operating systems?

795


What is a critical section?

825


What are the popular strategies used for multiprocessor thread-scheduling?

794


What are 4 types of operating systems?

773


How can you check whether a machine is 64 bit or 32 bit?

806