home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!news.claremont.edu!ucivax!noiro.acs.uci.edu!network.ucsd.edu!pacbell.com!well!oster
- From: oster@well.sf.ca.us (David Phillip Oster)
- Subject: Re: Better than TickCount?
- Message-ID: <Bt297z.tH@well.sf.ca.us>
- Sender: news@well.sf.ca.us
- Organization: Whole Earth 'Lectronic Link
- References: <1992Aug16.023716.13162@midway.uchicago.edu>
- Date: Sun, 16 Aug 1992 05:14:23 GMT
- Lines: 8
-
- In article <1992Aug16.023716.13162@midway.uchicago.edu> hd12@midway.uchicago.edu writes:
- >Sorry if this is a FAQ. Is there a more accurate way to control time than
- >TickCount? Thanks for the help!
-
- You can set up a time manager task to increment a global variable every
- millisecond. Then use this variable like a TickCount. Beware, 2^32
- milliseconds is not a lot of time. Make sure you handle wraparound of
- the counter gracefullly
-