2.4 Kernel thread start/stop
Hi all,
i am starting from inside a module a kernel thread*,but in some time later
i
want to remove that module and stop the thread.
What is the process while unloading a module to release a kernel thread in 2.4.x kernel series.?????
Thanks in advance.
Quoted 8 lines · linux
Hi all,
i am starting from inside a module a kernel thread*,but in some time later i
want to remove that module and stop the thread.
What is the process while unloading a module to release a kernel thread in 2.4.x kernel series.?????Thanks in advance.
Look at code that uses kernel threads. You send the task a signal and synchronize its exit with a semaphore.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.11.9 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.