home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!wri!dragonfly.wri.com!thomasc
- From: thomasc@dragonfly.wri.com (Thomas Chin)
- Subject: Re: How do I sleep w/o using any CPU time
- Message-ID: <thomasc.711130550@dragonfly.wri.com>
- Sender: news@wri.com
- Nntp-Posting-Host: dragonfly.wri.com
- Organization: Wolfram Research, Inc.
- References: <a684a397@spicewood.uucp> <1992Jul14.114905.2803@bernina.ethz.ch>
- Date: Tue, 14 Jul 1992 16:15:50 GMT
- Lines: 11
-
- >In article <a684a397@spicewood.uucp> David L. Crow, crow@spicewood.uucp
- >writes:
- >> Basically, I guess that I just want to know the best way to put
- >> my application to sleep for a given amount of time.
-
- With system 7 process manager, you can have a time manager task which do
- a 'WakeUpProcess', install the timer, go into your yielding 'WaitNextEvent'
- with maximum sleep ticks and empty mask, you'll get a NULL event when the
- time is up!
-
- -Tom
-