Hi Ed,

Thank you for the quick response, based on your email a application should use an interrupt handler directly to the hardware handle interrupt event, if my understanding is correct, can you describe what scenario we should use resource manager?


Best regards,
Jerry


Edward Lee <community-noreply@qnx.com>

06/29/2012 01:46 PM
Please respond to
general-community@community.qnx.com

To
general-community <general-community@community.qnx.com>
cc
Subject
Re: Interface between resource manager in Neutrino and application





hello Jerry,

I recommend you review the section on how to write an Interrupt Handler under QNX.

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_prog/inthandler.html

More specifically, see the APIs for InterruptAttach() and InterruptAttachEvent(), as they allow you to create the appropriate call-back mechanism for the notification that you are looking for.

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_lib_ref/i/interruptattach.html

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_lib_ref/i/interruptattachevent.html

cheers,
- Ed Lee



_______________________________________________

General
http://community.qnx.com/sf/go/post93956
To cancel your subscription to this discussion, please e-mail general-community-unsubscribe@community.qnx.com