home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!stanford.edu!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!nuntius!davidk
- From: David Kabal <davidk@citr.ee.mcgill.ca>
- Subject: Am I an idle process? Or just lazy?
- Message-ID: <1992Jul28.163827.9136@thunder.mcrcim.mcgill.edu>
- Sender: news@thunder.mcrcim.mcgill.edu
- Nntp-Posting-Host: prefect.ee.mcgill.ca
- Organization: CITR / McGill University
- X-Useragent: Nuntius v1.1.1d1
- Date: Tue, 28 Jul 92 16:38:27 GMT
- Lines: 16
-
- 1. What's the best way of telling if you're an idle machine from a foreground
- process? (I thought of counting the number of null evt's in a row)
-
- 2. What's the best way of telling if you're an idle machine from a background
- process? (Can't count nullEvts.... They're ALL nullEvts)
-
- ----------
- David Kabal
-
- Canadian Institute for Telecommunications Research
- Institut Canadien de Recherche en Telecommunications
-
- You are in an open field west of a big white house with a boarded
- front door.
- There is a small mailbox here.
-