lkml.org 
[lkml]   [2002]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Userland ISRs
Date

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

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.019 / U:33.040 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site