I'll try it. To be fair, for our application 100% cpu might not be a bad thing ;-)
Next week when I'm in the office I'll give it a go. Perhaps tweaking the idle process will free some cpu if a problem. The ioRelinquishProcessorForMicroseconds(us) will still get called.
More important for the app is timely responses to delay semaphores.
Thanks for the responses!
-----Original Message----- From: vm-dev-bounces@lists.squeakfoundation.org [mailto:vm-dev-bounces@lists.squeakfoundation.org] On Behalf Of Ian Piumarta Sent: 14 June 2007 4:20 pm To: Squeak Virtual Machine Development Discussion Subject: Re: [Vm-dev] Linux VM and Delay.
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.
Cheers, Ian