Yawn, there has to be a reason why most of the VM maintainers are up at midnight, well assuming it's midnight for Igor. But I'm too tired now, so will respond tomorrow.
On Feb 27, 2008, at 11:58 PM, Andreas Raab wrote:
John M McIntosh wrote:
I can't speak for Windows works but the magic on unix systems happens in ioRelinquishProcessorForMicroseconds
But none of it contradicts what I said earlier - if platformSleep uses the system's default timer (which it should) then the accuracy of C code will be no better than the accuracy of Squeak. And if it doesn't, well then the code is broken and you should fix it. It sure as hell works on Windows (perhaps I can shame you into fixing it? ;-)
Cheers,
- Andreas
-- = = = ======================================================================== John M. McIntosh johnmci@smalltalkconsulting.com Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ========================================================================