Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need a timer that will run in the background and call a function every x time.

But I would need it to perform a check every x time. This x time being as short as possible.

I managed to create one that went down to the milli second, using Windows XP. I was wondering what system/language I should use to get something quicker.

Any advice or hint would help

Regards,
Posted
Updated 1-Dec-09 5:34am
v2

Take a look at my article Timers Tutorial[^] to learn about different kinds of timers on WIndows.

However, CG is right - Windows is not a real-time OS and you can't expect accuracy under 15 ms.
 
Share this answer
 
Thank you very much for your answers,

The article on Timers is very helpful.

I'll keep in mind that I'll probably need to think about another System to get something reliable.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900