RE: Userland ISRs

From: Heater, Daniel (IndSys, GEFanuc, VMIC) (Daniel.Heater@gefanuc.com)
Date: Thu Oct 17 2002 - 09:19:20 EST


> 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/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:35 EST