🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: PopUpMenu

#2324
From: Jim Mackraz
Date: Sat, 25 Nov 1989 05:01
35 lines
1812 bytes
In article <1751@mathrt0.math.chalmers.se> d5adria@dtek.chalmers.se (Martin Adrian) writes:
)My new popupmenu program is almost ready for release.

)But there is one bug left.

)  When i press the menubutton in my testprogram window the 
)  workbench comes to the front and the inputhandler stops.
)  Xoper tells me that the input.device is waiting for a signal
)  0x00000040.

This is the semaphore signal, you are in a deadly embrace.
Intuition will commit to getting a semaphore in the input handler,
from time to time, and this has to be carefully integrated with
other progams who would like to lock layers.

As you note, the alternative to arbitration is collision and garbage.

Sorting all this out is the Hard Part of a multi-tasking system like
Intuition.  It barely manages to avoid deadly embrace on itself,
and has some failures when Workbench locks layers for icon dragging.

)Can anyone out there help me with this problem.

While I applaud your work, I contend that there is no support for
glueing on something like SwapBits menus externally.  Perhaps that
will change, but there are other matters to attend to.

)Martin Adrian.

	jimm
-- 
--------------------------------------------------	- opinions by me
"This voice console is a *must*.  I press Execute. 
 `Hello, I know that you've been feeling tired.
  I bring you love and deeper understanding.' "		-lyrics by Kate Bush
Technical Details
Message-ID: <4914@amiga.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!brutus.cs.uiuc.edu!apple!oliveb!amiga!jimm
References: <1751@mathrt0.math.chalmers.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!brutus.cs.uiuc.edu!apple!oliveb!amiga!jimm
From: jimm@amiga.UUCP (Jim Mackraz)
Newsgroups: comp.sys.amiga.tech
Subject: Re: PopUpMenu
Message-ID: <4914@amiga.UUCP>
Date: 25 Nov 89 05:01:23 GMT
References: <1751@mathrt0.math.chalmers.se>
Reply-To: jimm@batgirl.UUCP (Jim Mackraz)
Organization: Commodore-Amiga Inc, Los Gatos CA
Lines: 35