Xref: utzoo comp.sys.mac:14070 comp.windows.misc:311 Path: utzoo!mnetor!uunet!lll-winken!lll-tis!mordor!sri-spam!ames!lll-lcc!pyramid!voder!apple!han From: han@Apple.COM (Byron Han, fire fighter) Newsgroups: comp.sys.mac,comp.windows.misc Subject: Re: A/UX window systems, Mac tool...( Hum Interface) Message-ID: <7718@apple.Apple.Com> Date: 17 Mar 88 02:38:04 GMT References: <4129@hoptoad.uucp> <283@rhesus.primate.wisc.edu> <1710@ssc-vax.UUCP> <1174@cpocd2.UUCP> Organization: Communication Tools Group - Apple Computer, Inc. Lines: 29 Keywords: window human computer interface Summary: Just the facts, ma'am. In article <1174@cpocd2.UUCP>, howard@cpocd2.UUCP (Howard A. Landman) writes: > You can see the problem but still don't admit it's there? In real multitasking > NO SPECIAL CODING IS NEEDED. Most programs multitask AUTOMATICALLY without any > special attention from the programmer. > > Under MultiFinder, each program (except possibly the last one) must be > specially coded to be "MultiFinder compatible" by calling WaitNextEvent instead > of GetNextEvent (if I don't have them reversed). Why is this a problem? > Because it only takes one or two programs which fail to do this before > MultiFinder fails to grant any CPU time at all to the lowest priority task. > Why is this a problem? Because there are lots of Mac programs out there which > were written before MultiFinder and are still useful, but which will never be > changed. Companies go out of business. Shareware authors move on to more > lucrative pursuits. Etc. > Your posting is incorrect in stating that one needs to rewrite/recompile applications to be MultiFinder compatible. Having applications that call GetNextEvent instead of WaitNextEvent will not cause your machine to not give time to backround applications. Using WaitNextEvent is a little bit more efficient and gives a few more services (such as defining a sleep time and other such stuff) that GNE does not provide. However, using GNE will not result in an application that "hogs" the system. The important thing is to call GNE/WNE as often as possible - which is a good thing to do anyway to present a responsive human interface to the user. A note to all: please try to think about responses before posting them. There seems to be an excess of followups posted as knee-jerk reactions.