Re: Driver (lackof) Robustness

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

 



On Fri, Mar 08, 2002 at 07:10:25PM -0600, David Stroupe wrote:

> Yes, I know exactly what you mean.  I have   owner:THIS_MODULE set.  
> This problem seems to happen when I ctrl-c out of my app then try to 
> remove the driver.  The driver will not remove if the app is running and 

Then you are probably doing a non-interruptible wait. Use
wait_event_interruptible, then you can check if the task woke up with :

	if (signal_pending(current))

or some such.

The ctrl-c should be sending a signal..

regards
john

-- 
I am a complete moron for forgetting about endianness. May I be
forever marked as such.
--
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