This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: spin() and Win32 port


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]