Re: User Interrupt Function?

On Mon, Jan 27, 2003 at 02:39:46PM -0800, Tim Gessner wrote:
> Does comedi provide a means of calling a user supplied function when an AtoD
> interrupt occurs?  Or perhaps call a user supplied function when a timer
> interrupt occurs?

If you are calling Comedi from kernel space, like from a real-time
module, yes.  You should look at the real-time examples.

If you are using Comedi from user space, yes, using SIGIO.  But
I'm almost 100% certain that you don't really want to do that,
unless you really know what you're doing.  So don't.  Use select()
instead.



dave...

Received on 2003-01-30Z22:17:21