Instead of staying in your program execution loop, could you go passively event-based? Instead of looping around 5,000 times "Has 1/60th of a second gone by?", using 100% CPU, you tell Windows "call me back when 1/60th of a second has gone by".
"Journalism is printing what someone else does not want printed. Everything else is public relations." - George Orwell
"If voting changed anything, they'd make it illegal." - Emma Goldman
|