home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!spool.mu.edu!howland.reston.ans.net!paladin.american.edu!auvm!INFERENCE.COM!GLOSTER
- Message-ID: <9301281827.AA19646@quaestor>
- Newsgroups: bit.listserv.win3-l
- Date: Thu, 28 Jan 1993 10:27:06 PST
- Sender: Microsoft Windows Version 3 Forum <WIN3-L@UICVM.BITNET>
- From: "Vance M. Gloster" <gloster@INFERENCE.COM>
- Subject: Timers in Windows
- In-Reply-To: klatsy@SCHKOL.SCH.BME.HU's message of Thu,
- 28 Jan 1993 18:59:20 EST
- <9301281802.AA18981@fourier.inference.com>
- Lines: 11
-
- I met with an interesting problem. I have to create a timer to wake one of
- functions up in every 1 ms. But. It seems, that windows can launch a timerproc
- only in every 50-60 milliseconds. For instance when I asked for a 2 ms timer,
- than it calls the callback function after 50, 100, 150, 200, ... milliseconds.
-
- Use the multimedia timer. It has a resolution (on most machines) of 1
- ms. It is a hardware interrupt, not a message. The standard timer
- will skip events if the system gets busy.
-
- -Vance Gloster
- gloster@inference.com
-