🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #41580

But if I can't use SystemTask...???

#41580
From: Blake Meike
Date: Fri, 28 Apr 1989 17:49
14 lines
1199 bytes
What is the correct way to make sure that DA's get their slices of the
pie when using WaitNextEvent?

My application, at one point, sits in a fairly tight loop waiting
for a mouse down.  It calls EventAvail.  It used, also, to call
SystemTask, per the documentation, to be sure that DA's got a chance
at the processor.  New docs say that if you call WaitNextEvent, you
shouldn't call SystemTask.  Ever?  Should I still be calling it in the
loop with EventAvail?  Or should I call something else (what)?  Or does
EventAvail do it automatically now?

Any enlightenment would be greatly appreciated.  Mail words of wisdom to:

B.Meike@dartmouth.edu
Technical Details
Message-ID: <13265@dartvax.Dartmouth.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!purdue!bu-cs!dartvax!eleazar.dartmouth.edu!blakem

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!purdue!bu-cs!dartvax!eleazar.dartmouth.edu!blakem
From: blakem@eleazar.dartmouth.edu (Blake Meike)
Newsgroups: comp.sys.mac
Subject: But if I can't use SystemTask...???
Summary: How do I correctly run DA's using WNE
Keywords: WaitNextEvent SystemTask DA MultiFinder EventAvail
Message-ID: <13265@dartvax.Dartmouth.EDU>
Date: 28 Apr 89 17:49:38 GMT
Sender: news@dartvax.Dartmouth.EDU
Reply-To: B.Meike@dartmouth.edu
Organization: Dartmouth College, Hanover, NH
Lines: 14