[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wait_event_interruptible
On Mon, Mar 04, 2002 at 11:15:10AM -0600, David Stroupe wrote:
> wait_event_interruptible(queue, condition == 0xda);
>
> I know that elsewhere in the driver condition is being set to 0xda
> (because I have a printk there), but the wait is never broken until I do
You need to do wake_up(queue) as well.
regards
john
--
I am a complete moron for forgetting about endianness. May I be
forever marked as such.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/