RE: Wait queue question
From: Ron Bianco <hidden>
Date: 2001-02-14 18:34:04
Hi Ralph, perhaps you could not attach your .vcf files anymore? If your driver implements non-blocking read() and write() functions, then you don't have to sleep. Else others have commented on the alternative to sleep_on(). For non-blocking: Just use poll_wait() in your poll() function and wakeup_interruptible when there data available on your Qs. Then user program's select() and poll() system calls will work properly. Ron
-----Original Message----- From: owner-linuxppc-embedded@lists.linuxppc.org [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Ralph Blach Sent: Wednesday, February 14, 2001 7:05 AM To: Embedded Linux list Subject: Wait queue question If I have a wait queue thats I am using to wake up a device driver read from an interrupt service routine. If I get three interrupt and three wake_up_interrables, will I need to execute three sleep_ons to get the wait queue back to the null state, or is it just back after the first sleep_on? Chip
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/