1. Win32Lib: timers get out of sync?

------=_NextPart_000_0049_01C02CC6.601353C0
        charset="iso-8859-1"

I made a little demo of using multiple timers, and noticed a curious thing:
they start "synched", but after a while appear to get *out* of sync.  It's
probably not important, but can anyone tell me what's going on?

The "2 second" timer starts out displaying each count on *even* counts of
the "1 second" timer, but at about count 29 or so (it varies) on the "1
second" timer, the "2 second" timer begins to change count on *odd* counts
of the "1 second" timer.

Dan Moyer

------=_NextPart_000_0049_01C02CC6.601353C0
        name="Mt3.exw"
Content-Transfer-Encoding: quoted-printable

new topic     » topic index » view message » categorize

2. Re: Win32Lib: timers get out of sync?

> they start "synched", but after a while appear to get *out* of sync.

This seems to be normal behavior for timer calls. If your machine is busy
doing *anything* when the timer's call is made, Windows just ignores it
completely, by skipping it,
... so things do seem to "get out of sync".

Wolf

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu