newbie delay/sleep question
- From: "cstahl3" <carl.stahl@xxxxxxxx>
- Date: 11 Dec 2006 11:29:08 -0800
I am developing a device driver that handles an interrupt. When my
device driver receives the interrupt I would like to sleep for 100
microseconds and then do some other task. My problem is I may receive
another interrupt within that 100 microseconds and the sleep I've been
trying to do is blocking the next guy from executing on time (waiting
for the first guy to finish sleeping).
I've been looking at using timers, task queues, and work queues, but
I'm not exactly sure if that's the way to go and it seems if I base my
delay on jiffies, I will not be able to satisfy my microsecond sleep
requirement. Any ideas?
.
- Follow-Ups:
- Re: newbie delay/sleep question
- From: Aaron Isotton
- Re: newbie delay/sleep question
- Prev by Date: GNU make: recursive make vs single makefile
- Next by Date: Re: newbie delay/sleep question
- Previous by thread: GNU make: recursive make vs single makefile
- Next by thread: Re: newbie delay/sleep question
- Index(es):
Relevant Pages
|