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

Considering notepad/IE or any other thing as process, What will happen if you start notepad or IE 3 times ? Where three processes are started or three threads are started?

0 Answers  


What is the kernel of the operating system?

0 Answers  


What are pages?

0 Answers  


What does 64bit mean?

0 Answers  


What is preemptive multitasking?

0 Answers  






Describe different job scheduling in operating systems?

2 Answers  


What items of information about a task might be useful in real time scheduling?

0 Answers  


What is virtual memory and where it exhist ?

0 Answers   MCN Solutions,


What is the difference between micro kernel and macro kernel?

0 Answers  


List out some reasons for process termination.

4 Answers  


Explain about Different types of real-time scheduling?

0 Answers  


What are the main difference between Micro-Controller and Micro- Processor?

1 Answers  


Categories