Solved: using select() as a timer - Experts Exchange
What I am looking for is a reliable way to perform commands at a very high determined speed. I was told to look at select() because it could generate the hold and wait feature I wanted. When I tried using WM_TIMER in MFC and _sleep() at 1 millisecond, I would only get 62 or so calls per second actually occuring, not the 1000 that I want.
more
|