idle threads

Matthew Fleming matthew.fleming at
Sat Apr 24 00:25:32 UTC 2010

I'm looking at kern_idle.c in stable/7 and I don't quite follow how idle
threads work.  The kthread_create(9) call does not pass in a function
pointer, so what code does a processor run when there is no other
runnable thread?


More information about the freebsd-hackers mailing list