Re: sleep

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

 



Fawad Lateef wrote:
> You can also use mdelay(<time_in_milliseconds) ,
> udelay(delay_in_microseconds) and so on ... see linux/delay.h

ndelay(), udelay() & mdelay() are busy-waiting functions, they don't put
the current task to sleep.




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