Mail Archives: djgpp/1999/04/29/03:34:28
On Thu, 29 Apr 1999, Guillermo Rodriguez Garcia wrote:
> So uclock() doesn't always fail under W95. Could anyone
> please tell me when and where uclock() fails ?
Ask Bill Gates ;-)
Allegedly, Windows has a bad habit of reprogramming the timer when it
sees fit, and when that happens after the first call to `uclock'
(which itself reprograms the timer), `uclock' will begin to work
erratically, sometimes reporting negative time intervals (i.e. the
values it returns sometimes go down instead of up).
However, `uclock' works on Windows 95 for me also, or at least I
couldn't catch it red-handed yet. Others reported consistent
problems. Go figure.
Needless to say, there's no documentation known to me that explains
all this mess from the Windows' side.
- Raw text -