🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mutual Exclude Gadgets

#13289
From: doug
Date: Wed, 03 Jan 1990 04:46
27 lines
1790 bytes
-Message-Text-Follows-
In article <899@tardis.Tymnet.COM>, jms@tardis.Tymnet.COM (Joe Smith) writes...
>After reading the follow-up postings and email from Henry, I am still missing
>something.  In the example above, who decides that bit 2 is available for use
>by gadget A?  If it's decided by the programmer at compile time, then the
>code won't work if bit 2 is one of the bits assigned to a system gadget.
>(It will exclude the system gadget when that was not what is desired.)
>If it's determined at run time, then how is this information passed back to
>the program?  I like the idea, but how is it implemented?

There are currently no system gadgets which use or need mutual exclusion
Mutual exclusion would be local to a window so only the window gadgets
matter as system gadgets in this discusion. System gadgets just wouldn't
have any bits set. In the future, someone may actualy come up with some
system gadgets which need to use mutual exclusion, but this could be
handled by either alocating system mutual exclude bits from the top, 
and user bits from the bottom (liest significant), or by adding a new
ulong for system mutual exclude bits. 

Most likely it will be the users responsibility to choose the bits to
use.

The only thing I don't like about this solution, is that it requires
searching the entire list of gadgets every time a gadget with a mutual
exclude bit set is selected.

Douglas Peale
Technical Details
Message-ID: <3454@hub.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!tut.cis.ohio-state.edu!ucsd!hub!doug

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!tut.cis.ohio-state.edu!ucsd!hub!doug
From: doug@voodoo.ucsb.edu
Newsgroups: comp.sys.amiga.tech
Subject: Re: Mutual Exclude Gadgets
Message-ID: <3454@hub.UUCP>
Date: 3 Jan 90 04:46:27 GMT
Sender: news@hub.UUCP
Organization: UC, Santa Barbara. Physics Computer Services
Lines: 27