|
-
May 12th, 1999, 11:52 PM
#1
timer message missing
Dear developers,
I am using 5 timers at a time . One of my timer is of 100ms and others
are of 1 sec. Sometimes my 1 sec timer is getting missed. It is quite frequent which is not acceptable for my programme as it is real time application. I am not using multithreding. Is it possible to prioritise the timer message by some means?
Thank you.
Deepak Patil
-
May 14th, 1999, 12:02 AM
#2
Re: timer message missing
The windows timer messages are proceesed by the windows message queue. If one of the timer events (WM_TIMER) is there in the queue, windows will not put the other timer messages even its set duration has elapsed. U can try out with multimedia directX functions.
surinder
ICQ #3760 3760
-
May 14th, 1999, 02:05 AM
#3
Re: timer message missing
Or, avoid the messages going into the queue by using the callback form of the timer use - these fire immediately, and bypass the message queue.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|