spin() and Win32 port
Tom Tromey
tromey@redhat.com
Thu Dec 19 11:00:00 GMT 2002
>>>>> "Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:
Ranjit> The SetWaitableTimer Win32 function does provide a
Ranjit> 100-nanosecond granularity, but would not work on Win95. :-(
Ranjit> If waiting for a millisecond or more is OK (note:
Ranjit> MAX_SLEEP_USECS is 200000 us = 200 ms, MIN_SLEEP_USECS
Ranjit> is 2001 us = 2 ms), I guess we can use the Win32 Sleep
Ranjit> function.
How about this: I'll write a patch that uses a new platform function.
Then I'll hold off checking it in until you write the implementation
for Win32. I'll try to do it today.
Tom
More information about the Java
mailing list