Re: What does idle thread do
Adam Lackorzynski <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Wed Sep 24, 2014 at 16:25:31 -0400, Yuxin Ren wrote: > I want to know what kernel idle thread does. > Does it just execute "halt" instruction or anything else? Mostly it is calling a halt instruction but it can also do remote work. > Where is code for the idle thread? Please look for 'for (;;) idle_op()' in kernel_thread.cpp and app_cpu_thread.cpp. Adam -- Adam [email protected] Lackorzynski http://os.inf.tu-dresden.de/~adam/