ambuli
asked on
using Timers
Hi Experts,
I have to send messages to another process for displaying dialogs. When I send the display message I have to start a timer and wait for that particular time for a a response. If I don't get the response then I have to send a message to cancel that dialog. There might be multiple outstanding requests at a time. I have a table to track the invokeIDs for my dialogs. How can I use timer effectively to do this?
That is I have to send a request to display and start a timer So, do I have to have many timers to do this?
I have to send messages to another process for displaying dialogs. When I send the display message I have to start a timer and wait for that particular time for a a response. If I don't get the response then I have to send a message to cancel that dialog. There might be multiple outstanding requests at a time. I have a table to track the invokeIDs for my dialogs. How can I use timer effectively to do this?
That is I have to send a request to display and start a timer So, do I have to have many timers to do this?
What OS are you using?
ASKER
I am using QNX, but a general idea is what I am looking for. Thank you
ASKER
FYI: POSIX timers are available in QNX
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.