Re: killing a kernel_thread

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

 




On Fri, 15 Apr 2005, Adam Wynne wrote:

> Once a kernel thread is created using kernel_thread(), how can it be killed?
>
> Thanks
>

Hi,

you should use kill_proc (thread_id, signal, flags);
for example kill_proc (tid, SIGTERM, 0)

use the following link (he is asking the same thing):
http://www.ussg.iu.edu/hypermail/linux/kernel/0310.2/0317.html

Razvan


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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux