InterruptAttach() error

Hi again,

I use a ISA board who generate an interrupt when the flex component are
initialized.

If I attach a handler before initialize the board everything works fine but
when the board generate the interruption QNX refuse to attach it.

Help wellcome.

Laurent C.

“Champon Laurent” <webmaster@affa.net> wrote in message
news:9uvcgo$qlm$1@inn.qnx.com

Hi again,

I use a ISA board who generate an interrupt when the flex component are
initialized.

If I attach a handler before initialize the board everything works fine
but
when the board generate the interruption QNX refuse to attach it.

What exactly do you mean by “attach it”.

Help wellcome.

Laurent C.

“Mario Charest” <mcharest@clipzinformatic.com> a écrit dans le message news:
9v2gi0$19f$1@inn.qnx.com

“Champon Laurent” <> webmaster@affa.net> > wrote in message
news:9uvcgo$qlm$> 1@inn.qnx.com> …
Hi again,

I use a ISA board who generate an interrupt when the flex component are
initialized.

If I attach a handler before initialize the board everything works fine
but
when the board generate the interruption QNX refuse to attach it.

What exactly do you mean by “attach it”.

InterruptAttach( 11, handler, NULL, 0, 0 )

Lo

Help wellcome.

Laurent C.

\

“Laurent Champon” <webmaster@affa.net> wrote in message
news:9v2ntm$6a2$1@inn.qnx.com

“Mario Charest” <> mcharest@clipzinformatic.com> > a écrit dans le message
news:
9v2gi0$19f$> 1@inn.qnx.com> …

“Champon Laurent” <> webmaster@affa.net> > wrote in message
news:9uvcgo$qlm$> 1@inn.qnx.com> …
Hi again,

I use a ISA board who generate an interrupt when the flex component
are
initialized.

If I attach a handler before initialize the board everything works
fine
but
when the board generate the interruption QNX refuse to attach it.

What exactly do you mean by “attach it”.

InterruptAttach( 11, handler, NULL, 0, 0 )

InterruptAttach is returning -1? What is the value of errno?

This is very strange, and to some degree doesn’t really make sense.
The occurance of an interrupt should not affect the ability to
attach to it. If that was the case shared interrupt wouldn’t work
at all and if that was there would be tons of complains here :wink:


Lo



Help wellcome.

Laurent C.



\