[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel_thread



Hi,

I am not an OS guy and trying to learn some OS stuff. 
When we call kernel_thread(), with a function pointer, when is that function
called ? 
Does it preemt the thread calling the kernel_thread()  -OR-
the kernel just puts the new thread in run queue and runs it later based in
scheduling algorithm ?


Regards

ashoke.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/