Re: Short wait

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

 



--- Hansen Martin <DKDD0MAR@Danfoss.com> wrote:
> In a driver I need to make a short wait. at about 1 ms. But never
> more that
> 1.5 ms.
> 
> So a reschedule don't work here. Is there some macro available to
> make this
> short wait?
> 

Try udelay()

See http://www.xml.com/ldd/chapter/book/ch06.html#t3, and scroll down
to "short delays"

Harmony,

Christine


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--
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