What is an idle thread?

Answers were Sorted based on User's Feedback



What is an idle thread?..

Answer / guest

The special thread a dispatcher will execute when no ready
thread is found.

Is This Answer Correct ?    14 Yes 6 No

What is an idle thread?..

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

Post New Answer

More Operating Systems General Concepts Interview Questions

How do I use i3?

0 Answers  


How does the cpu and the ram communicate?

0 Answers  


What is the full form of "windows xp "

10 Answers   IIHT,


How can I make usb bootable?

0 Answers  


Explain busy waiting in operating system (os)?

0 Answers  






abcD+abcd+aBCd+aBCD then the simplified function is ( Capital letters are copliments of corresponding letters A=compliment of a) [a] a [b] ab [c] abc [d] a(bc)* [e] mone (bc)*=compliment of bc

6 Answers   NDS, Wipro,


When the pipe is used?

0 Answers  


How do I delete an operating system?

0 Answers  


How you can detect deadlock condition?

0 Answers  


Difference between short term, long term and medium term scheduler.

0 Answers   Tech Mahindra,


What is a hard real time OS?

0 Answers   Motorola,


Difference between a thread and process?

0 Answers   Wipro,


Categories