Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!bu.edu!dartvax!eleazar.dartmouth.edu!llama From: llama@eleazar.dartmouth.edu (Joe Francis) Newsgroups: comp.sys.mac.programmer Subject: Re: Pyro Message-ID: <23317@dartvax.Dartmouth.EDU> Date: 24 Jul 90 18:13:22 GMT References: <1990Jul22.121447.9696@hoss.unl.edu> Sender: news@dartvax.Dartmouth.EDU Organization: Dartmouth College, Hanover, NH Lines: 20 >lim@iris.ucdavis.edu (Lloyd Lim) writes: >I am writing an app that I want to be as MultiFinder friendly as possible. >Therefore, when I call WaitNextEvent with a sleep value of 0xFFFFFFFF (the >app doesn't run on Systems with the sleep bug). Unfortunately, I noticed Despite the fact that WaitNextEvent has the sleep parameter defined as an unsigned long, I notice that the Apple sample code "Sample.c" and "TESample.c" use MAXLONG for their "don't need no time" sleep value. Paranoid double checking of Values.h revealed that MAXLONG is indead 0x7FFFFFFF. Now I wonder why they did that? hmmmm... ------------------------------------------------------------------------------ "Read My Lips: No Nude Texans!" - George Bush clearing up a misunderstanding and tackling one of the great problems of our time Of course, Souter has expressed doubts about the constitutionality of federally regulating nude Texans....