RE: Userland ISRs

Heater, Daniel (Daniel.Heater@gefanuc.com)
Thu, 17 Oct 2002 10:19:20 -0400


> This all works well and good, execpt when the isr bit is already true when
> isrs are enabled. Then as soon as they are enabled the isr routine gets
> called, before the sleep has got a chance to get set up. Any ideas around
> this?

http://www.xml.com/ldd/chapter/book/ch09.html

Read the section about going to sleep without races.
I think you'll find the solution there.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/