lkml.org 
[lkml]   [2002]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Re: Re: your mail
  No thread and timer associated with it.
I am a kernel newbie. I just managed to make the module's release function to cope with "ctrl+c", nothing more is done. I do not know how to impove my code to make it cope with the TERM signal(No. 15 signal ?). In closing the dev file of a device, IMHO, all signal trigger the same function.

>On Apr 24, 2002 17:44 +0800, Huo Zhigang wrote:
>> Remove the driver first befor reboot! It works. But what is relation
>> between the reboot process and my driver? When I remove the driver module
>> myself, nothing goes wrong. What is the difference?
>
>Does your module have a timer or thread which may be active at shutdown?
>It may be that if it has a kernel thread that the TERM will kill the
>thread and your driver does not expect this.
>
>Cheers, Andreas
>--
>Andreas Dilger
>http://www-mddsp.enel.ucalgary.ca/People/adilger/
>http://sourceforge.net/projects/ext2resize/


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

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.045 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site