Re: Question: 20 microseconds delay

From: Bill Davidsen
Date: Sat Mar 03 2007 - 16:01:28 EST


Mockern wrote:
The problem is that I need to use wait_event_timeout function

AFAIK you can't do that, it's just not the right tool for the job. You can always use a single jiffy and be sure you will wait at least 20us, or use usleep.

No matter how much you "need to use" your snowblower, it won't mow your lawn.

--
Bill Davidsen <davidsen@xxxxxxx>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/