Re: 2.4 Kernel thread start/stop

From: Richard B. Johnson
Date: Thu May 19 2005 - 10:22:23 EST


On Thu, 19 May 2005, linux wrote:

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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/