🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: MutualExclude for Gadgets

#1371
From: Michael Sinz - CATS
Date: Thu, 21 Sep 1989 14:16
29 lines
1969 bytes
In article <125013@sun.Eng.Sun.COM> cmcmanis@sun.UUCP (Chuck McManis) writes:

  [... Much deleted ...]

>/*
> * One of many defines that identify the kinds of custom structure I hang
> * off of gadgets, if UserData is NULL is looks at location 0 but that is
> * always 0 (:-)) so that is ok too. Of course third party hacks that 
> * diddle with my gadgets will crash the system...
> */

Gee, Chuck, you didn't really say that did you?  Location 0 is undefined
and can contain any value, including ODD values.  (In fact, early A590
drives placed an odd value at location 0)  ;-)

  [... Some code deleted ...]  (It would have crashed anyway... ;^)

>--Chuck McManis
>uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@sun.com
>These opinions are my own and no one elses, but you knew that didn't you.
>"If I were driving a Macintosh, I'd have to stop before I could turn the wheel."

/----------------------------------------------------------------------\
|      /// Michael Sinz -- CATS/Amiga Software Engineer                |
|     ///  PHONE 215-431-9422  UUCP ( uunet | rutgers ) !cbmvax!mks    |
|    ///                                                               |
|\\\///          When people are free to do as they please,            |
| \XX/                they usually imitate each other.                 |
\----------------------------------------------------------------------/
Technical Details
Message-ID: <7964@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!usc!bbn!oliveb!amiga!cbmvax!mks
References: <1849@cbnewsd.ATT.COM> <125013@sun.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!usc!bbn!oliveb!amiga!cbmvax!mks
From: mks@cbmvax.UUCP (Michael Sinz - CATS)
Newsgroups: comp.sys.amiga.tech
Subject: Re: MutualExclude for Gadgets
Keywords: Amiga MutualExclude
Message-ID: <7964@cbmvax.UUCP>
Date: 21 Sep 89 14:16:42 GMT
References: <1849@cbnewsd.ATT.COM> <125013@sun.Eng.Sun.COM>
Reply-To: mks@cbmvax.UUCP (Michael Sinz - CATS)
Distribution: usa
Organization: Commodore Technology, West Chester, PA
Lines: 29