Sleeping Process

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

 



Code in my module in running on the behave of a process and I have called scedule_timeout, code freg

sleep_time = 5000;

set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(sleep_time);

I can do ps and it show

4016 pts/0    S+     0:00 ./cda_select_null

But, when I do kill

kill -9 4016

Process doe not get killed.

What do I need to do to kill the process ?

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


--
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