Hi,
One software i run under wine uses the timeGetTime() function to do stuff every
five minutes.
Sometimes, that function seems to start going really faster, which defeat the
purpose of the software.
I currently use wine-2001.08.24 with FreeBSD 4.4, but it happened before with
older wine versions.
I made that software print out what happens :
At 14-11-2001 19:32 timeGetTime() just returned 7453186
At 14-11-2001 19:37 timeGetTime() just returned 7753190
At 14-11-2001 19:42 timeGetTime() just returned 8053195
At 14-11-2001 19:47 timeGetTime() just returned 8353210
(Before that, normal behaviour, one each 5 minutes, and then...)
At 14-11-2001 19:49 timeGetTime() just returned 8655880
At 14-11-2001 19:49 timeGetTime() just returned 9755582
At 14-11-2001 19:49 timeGetTime() just returned 10056085
At 14-11-2001 19:49 timeGetTime() just returned 10356061
and so on, about 500 times a minute (between 467 and 472 times a minute, to be
exact).
As you can see timeGetTime() seems to begin counting about 2500 times faster.
The "At 14-11-2001 19:xx" messages are made out of a GetSystemTime()
call, which seems to work fine.
If i cannot help, i will use another system call for my software, but i am
really curious about what can happen here.
I browsed Wine sources and found that timeGetTime and GetSystemTime both seems
to depend on a gettimeofday call.
Anybody can help me understand or fix it ?