Il 19/09/2012 18:04, Stefan Weil ha scritto:
The win32 timer still works when these modifications were applied.
What are they good for?
IIUC the Win32 did _not_ work (except on Wine) without these. Note I'm
talking about "-clock win32".
So these provide a hint that the problem with the Win32 timer is not in
the bowels of Windows, but only that it does not adjust the Windows
scheduler quantum. Wine does not need it because the Linux scheduler is
not as lame.
So if we just eliminated timers and used the g_poll timeout (what was
proposed upthread), Windows would work provided
timeBeginPeriod/timeEndPeriod are called correctly.
Paolo