🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Official Warnings...

#12455
From: Darren New
Date: Mon, 01 May 1989 18:06
9 lines
1121 bytes
In article <8904302141.AA21035@explorer.dgp.toronto.edu> pavel@dgp.toronto.edu (Pavel Rozalski) writes:
>Occasionally one may wish to have a lightweight method of accessing
>shared memory without the burden of an OS call. 

As I remember, Forbid() and Permit() (or at least the asm macros thereof)
are just one or two instructions long and don't involve any OS calls.
I think they work by just incrementing or decrementing flags, maybe in
the Task structure (requiring that you find this via the OS, but only once).
How much more lightweight do you want?  -- Darren
Technical Details
Message-ID: <14420@louie.udel.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!udel!new
References: <3082@haven.umd.edu> <11394@well.UUCP> <3773@sugar.hackercorp.com> <10819@mcdphx.phx.mcd.mot.com> <8904302141.AA21035@explorer.dgp.toronto.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!udel!new
From: new@udel.EDU (Darren New)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Official Warnings...
Keywords: tas
Message-ID: <14420@louie.udel.EDU>
Date: 1 May 89 18:06:58 GMT
References: <3082@haven.umd.edu> <11394@well.UUCP> <3773@sugar.hackercorp.com> <10819@mcdphx.phx.mcd.mot.com> <8904302141.AA21035@explorer.dgp.toronto.edu>
Sender: usenet@udel.EDU
Reply-To: new@udel.EDU (Darren New)
Distribution: na
Organization: University of Delaware
Lines: 9