User: Password:
|
|
Subscribe / Log in / New account

Handling interrupts in user space

Handling interrupts in user space

Posted Mar 17, 2005 22:18 UTC (Thu) by rgoates (guest, #3280)
Parent article: Handling interrupts in user space

Peter Chubb's solution for user-space interrupts seems to turn the asynchronous nature of interrupts into polling, which is certainly not asynchronous and is something I learned to dislike as a real-time programmer. This might work for some drivers but it doesn't sound like a good general solution. SGI's ULI at least retains the asynchronicity of interrupts.


(Log in to post comments)

Handling interrupts in user space

Posted Mar 17, 2005 22:40 UTC (Thu) by obobo (guest, #684) [Link]

Well, if you make a task that is just sitting (via poll or select) on that event, it will act pretty much exactly like an interrupt handler for that event. If you decide to use a single thread/task and just poll it periodically, of course, it won't.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds