daemon kernel thread
Hi,
I want to create a daemon kernel thread in Linux 2.6.14. Which function should I use [kernel_thread Or kthread_create]? and What Flag should I pass while creating the thread? Regards, Amit |
Moved: This thread is more suitable in Linux - Kernel and has been moved accordingly to help your thread/question get the exposure it deserves.
--jeremy |
kthreadd for linux kernel daemon
Hi,
in the latest linux kernel 2.6 , all the device drivers is under the control of kThreadd having process id 2, more info gnudeveloper.com |
Two functions, kthread_run or kthread_create, can be used. The kthread_run call kthread_create to create a new thread and the new thread is waked up right away. See include/linux/kthread.h
|
All times are GMT -5. The time now is 02:26 PM. |