qnx_hint_attach.HELP!!!

Hi all,

I have a problem with qnx_hint_attach,

Am initializing my board regarding interrupts by writing some port value to bar3 of PLX 9052.
After this am attaching my handler through qnx_hint_attach() here.
When I debug my code after that writing of port value,its getting hanged at qnx_hint_attach().

I want to know when this qnx_hint_attach() is called?can this be given any where?
Whether it will be called whenever interrupt is generated and gets attached to the
handler or will be called where ever it is specified.

If I specify this function before writing the above specified port value,then no problem I mean
process is not getting hanged.

What could be the problem?

Plz help regarding the above.


Thanks in advance.

KALYAN