🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: inputs from many windows

#11323
From: Stuart H. Ferguson
Date: Fri, 03 Feb 1989 01:46
18 lines
1470 bytes
+-- aaron@madnix.UUCP (Aaron Avery) writes:
| In article <2509@kalliope.rice.edu> phil@Rice.edu (William LeFebvre) writes:
| )bits.  And you can only have 32 sigbits, right (only 32 bits in a long)?
| )That would imply to me that you can have, at the most, 32 open windows in
| )your task, if you use a separate IDCMP for each window.
| That's my impression of what the problem is. Also, it's worse than that. The
| system pre-allocates 16 sigbits for you, so you only have 16 more to allocate
| yourself.

In case no one caught it the first time through -- Intuition re-uses signal
bits to create new IDCMP ports _once all the unique ones_ are used up.  In 
other words, if you want to open 50 windows, fine, but the last 34 or so
will use the same signal bit for incoming messages.  As long as you
allocate all the signals you need up front, you can open mass quantities
of windows and Intuition will take care of its own.
-- 
		Stuart Ferguson		(shf@well.UUCP)
		Action by HAVOC
Technical Details
Message-ID: <10579@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!apple!well!shf
References: <3778@crash.cts.com> <2509@kalliope.rice.edu> <454@madnix.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!apple!well!shf
From: shf@well.UUCP (Stuart H. Ferguson)
Newsgroups: comp.sys.amiga.tech
Subject: Re: inputs from many windows
Summary: Intuition's smarter than it may at first appear.
Message-ID: <10579@well.UUCP>
Date: 3 Feb 89 01:46:53 GMT
References: <3778@crash.cts.com> <2509@kalliope.rice.edu> <454@madnix.UUCP>
Reply-To: shf@well.UUCP (Stuart H. Ferguson)
Organization: The Blue Planet
Lines: 18