Skip navigation.
Home
The QNX Community Portal

View topic - c program InterruptAttachEvent in qnx ??

c program InterruptAttachEvent in qnx ??

anything that doesn't fit to other groups.

c program InterruptAttachEvent in qnx ??

Postby hemanth » Tue May 13, 2014 8:21 am

I tried to write InterruptAttachEvent code in c !!! but I am not successful.
Could someone please help me : how to write a InterruptAttachEvent ??

please someone help me.
tomorrow is the deadline for this.
please give me an example program ??

My TASK:
There is a client and server : Client is sending data to the server . Server is receiving the data and sending a response back to the client. Ethernet interface for communication between client and server. Client is a tool (intecrio tool) for sending data. Server is an embedded PC target (fit pc2) with qnx rtos. Server wi be executing some other process. When server receives the data along the Ethernet interface then the kernel as to stop what it is doing. And start executing the newly arrived data.

My task - I want to take the timestamp when the kernel is interrupted and time at which the kernel starts handling it. In QNX microkernel- I am not able to take the timestamp at which the kernel is interrupted . So I am planning to take the timestamp at which the interrupt handler is called by the kernel . Later I will store this timestamp in a memory and server will send this back to the client.
hemanth
Active Member
 
Posts: 20
Joined: Mon Dec 23, 2013 11:14 pm

Return to General Programming

Who is online

Users browsing this forum: Bing [Bot] and 2 guests