🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13896

Re: resource tracking

#13896
From: Deven T. Corzine
Date: Sun, 25 Feb 1990 22:29
38 lines
2378 bytes
On 25 Feb 90 05:33:44 GMT, peter@sugar.hackercorp.com (Peter da Silva) said:

Peter> OK, let's put it this way. Come up with a program that does
Peter> soemthing useful and doesn't do any IPC at all. About the only
Peter> thing I can think off is one that runs ONLY under the CLI, has
Peter> no diagnostic messages, and toggles the 7kHz filter on and off
Peter> (or does some other trivial hardware hackery (or hijackery)).

Ah, but you see, I never claimed you could do anything useful on the
Amiga without using messge passing at some level or another.  I
objected to your generalization that all system calls involve message
passing.  As with AddTask(), that is simply untrue.  On the other
hand, in general no program can do much of use without doing some I/O,
which DOES involve message passing.

Peter> IPC is integral to the Amiga. Sharing memory between a bunch of
Peter> tasks is not something you can get away from. It's rare on
Peter> UNIX.

Yes, the Amiga depends on shared memory for operation, and it makes
resource tracking dangerous.  But, if you keep track of what messages
have been sent but not replied to, then message passing can be
tracked.  (You would, of course, need _something_ to hang around
waiting for the message before deallocating it, but it can be done.)

Peter> Maybe I need a disclaimer: "If this message uses different
Peter> magic incantations than the ones you're used to, try to see if
Peter> that effects the content before flaming"?

"affects".  ;-)

Deven
-- 
Deven T. Corzine        Internet:  deven@rpi.edu, shadow@pawl.rpi.edu
Snail:  2151 12th St. Apt. 4, Troy, NY 12180   Phone:  (518) 274-0327
Bitnet:  deven@rpitsmts, userfxb6@rpitsmts     UUCP:  uunet!rpi!deven
Simple things should be simple and complex things should be possible.
Technical Details
Message-ID: <DEVEN.90Feb25172926@netserv2.rpi.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!netserv2!deven
References: <355.25C92297@weyr.FIDONET.ORG> <926@tardis.Tymnet.COM> <DEVEN.90Feb22141102@netserv2.rpi.edu> <5201@sugar.hackercorp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!netserv2!deven
From: deven@rpi.edu (Deven T. Corzine)
Newsgroups: comp.sys.amiga.tech
Subject: Re: resource tracking
Message-ID: <DEVEN.90Feb25172926@netserv2.rpi.edu>
Date: 25 Feb 90 22:29:20 GMT
References: <355.25C92297@weyr.FIDONET.ORG> <926@tardis.Tymnet.COM>
 <DEVEN.90Feb22141102@netserv2.rpi.edu> <5201@sugar.hackercorp.com>
Organization: Rensselaer Polytechnic Institute, Troy, NY
Lines: 38
In-Reply-To: peter@sugar.hackercorp.com's message of 25 Feb 90 05:33:44 GMT