Ian Piumarta wrote:
On Jun 13, 2007, at 10:25 AM, Andreas Raab wrote:
Gary Chambers wrote:
if (now - lastInterruptCheck > (1000/25)) /* avoid thrashing intr checks from 1ms loop in idle proc */
I don't think that in this day and age doing a 1000 interrupt checks/sec can be considered "thrashing" ;-) I'd just remove it and get the 1ms time resolution back.
The other thing you're likely to get back is 100% CPU usage. But by all means, try it.
Why would that be? Is there any intrinsic limitation that I'm unaware of?
Cheers, - Andreas