How to sleep in kernel ?

I'd like to put a delay for 1 second in my driver somewhere. What is the bsd function to do that. Basically this is for debugging only as I want printfs to be printed out slowly...

I am thinking of putting DELAY(1000000), let me know if that makes sense.
-thanks in advance.
bn
 
Back
Top