This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: spin() and Win32 port
- From: Tom Tromey <tromey at redhat dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: 19 Dec 2002 12:00:12 -0700
- Subject: Re: spin() and Win32 port
- References: <871y4f3r27.fsf@fleche.redhat.com> <atsb8d$565$1@main.gmane.org>
- Reply-to: tromey at redhat dot com
>>>>> "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