|
Section from LDD2
sleep_on_timeout (wait_queue_head_t * queue,
interruptible_sleep_on_timeout (wait_queue_
long timeout);
These two functions behave like the previous two, with
sleep will last no longer than the given timeout period. specified
in "jiffies", which are covered in Chapter 6.
#define HZ 100 represents the clock ticks in 1 second
Your time is 10ms (1 / 100s) |
|