🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #35601

Re: multitasking and IPC

#35601
From: William J. Lipa
Date: Sun, 18 Dec 1988 22:20
15 lines
1383 bytes
I wonder if it would be possible for Apple to define a routine to let other
applications have a time slice which could run at interrupt time. For example,
if EventAvail was removed from the list of traps that may move or purge
memory, an application writer could install a VBL task which did nothing except
call EventAvail 60 times a second. Since EventAvail is (I believe) one of the
traps which allows context-switching, this would give programmers an easy way
to add preemptive multi-tasking to their applications.

Since each application runs in its own heap, it shouldn't have its own memory
moved or purged even if another application is run. I suppose you would get
into trouble if your app was allocating a block in the system heap, though.
Might there be some way around this?

Bill Lipa
Bitnet: lipa%polya@stanford
Technical Details
Message-ID: <5724@polya.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!decwrl!labrea!polya!lipa
References: <1988Dec16.191309.21623@cs.rochester.edu> <326@internal.Apple.COM> <264@berlin.acss.umn.edu> <329@internal.Apple.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!decwrl!labrea!polya!lipa
From: lipa@polya.Stanford.EDU (William J. Lipa)
Newsgroups: comp.sys.mac,comp.sys.mac.programmer
Subject: Re: multitasking and IPC
Message-ID: <5724@polya.Stanford.EDU>
Date: 18 Dec 88 22:20:31 GMT
References: <1988Dec16.191309.21623@cs.rochester.edu> <326@internal.Apple.COM> <264@berlin.acss.umn.edu> <329@internal.Apple.COM>
Reply-To: lipa@polya.Stanford.EDU (William J. Lipa)
Organization: Stanford University
Lines: 15