On Sunday, 2010-08-01, Philippe Gerum wrote:
> Also note that [userland interrupt] support may introduce serious issues
> down the road,
> like not being able to use gdb over your application; using it in new
> apps is a bad idea in the first place, because interrupt handling is
> fundamentally a kernel thing, and should remain so.
>
> Providing this interface was a mistake, it is now deprecated, and
> scheduled for removal in 3.x. The right approach is to process
> (real-time) interrupts in kernel space from a RTDM driver, waking up a
> userland thread as needed. That thread may wait for events via blocking
> ioctl()/read() requests directed at the driver, thus following the
> standard programming model.

I just discovered this thread, and I'm trying to solve a similar problem.

Philippe, can you point me to a RTDM driver example that uses an interrupt
and blocks the reader? Or is this something that I will need to figure out
myself? A good RTDM example would be a start...

I'm on an older version of Xenomai (2.3) if that makes a difference.

Thank you for any help you can give me!

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to