Re: How do I make a kernel module "sleep" without affecting other kernel modules?

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

 



On Fri, Nov 26, 2004 at 09:27:09AM +0530, Karthik Subramanian wrote:
> Hi Folks,
> 
> I'm a *total* newbie, and would appreciate any help I get! 
> 
> I have a kernel module, and I need to make it suspend its execution
> for a specified period of time (say 10 seconds).  How do I do this?

Did you look at the msleep() function?

That should do what you want.

Good luck,

greg k-h

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