Re: waiting for irq from userland?

B. James Phillippe (bryan@terran.org)
Sat, 24 Jul 1999 22:51:35 -0700 (PDT)


On Sat, 24 Jul 1999, Jeff Garzik wrote:

> What is the most efficient way to wait for a device interrupt from
> userland, if you control both the device driver and the application?
> SysV semaphore? Signal?

How about a wait queue? You can put the process to sleep in something like
select/poll and wake it from your ISR.

-bp

--
# bryan at terran dot org
# http://www.terran.org/~bryan

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/