What is the best way to introduce delay in kernel ?

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Tue Apr 12 07:54:06 PDT 2005


On Tue, Apr 12, 2005 at 06:01:52PM +0530, Dipjyoti Saikia wrote:
> Hi ,
> 
> I am writing a device driver and using  DELAY() to intoduce delays in
> my code .Are there any better ways of doing the same for FreeBSD 4.10
> ?


you can use [tm]sleep for this... or with another approach callouts might be
usefull

roman


More information about the freebsd-hackers mailing list