From owner-freebsd-questions Fri Nov 30 5:35:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 761D937B416 for ; Fri, 30 Nov 2001 05:35:09 -0800 (PST) Received: (qmail 41708 invoked by uid 100); 30 Nov 2001 13:35:08 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15367.35596.70893.123850@guru.mired.org> Date: Fri, 30 Nov 2001 07:35:08 -0600 To: "Anthony Atkielski" Cc: "Mike Meyer" , Subject: Re: As usual, I disagree. In-Reply-To: <036901c17949$335163b0$0a00000a@atkielski.com> References: <15366.58396.746782.116282@guru.mired.org> <036901c17949$335163b0$0a00000a@atkielski.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Anthony Atkielski types: > Mike writes: > > No, there are good reasons for allowing every > > client application to find out about every event. > Yes, but in an event-driven system, you must compel applications to look at > events, and not merely wait for them to inquire. It is usually more efficient > to notify them. Correct. It's even more efficient to only notify them of events that they care about, which is what X does. > > Doing it the Windows way leads to the huge, > > resource-consuming GUI that MS has saddled the > > world with. > It also provides the flexibility and functionality that helped make that GUI the > leader. You can't have it both ways. So far, you haven't demonstrated that the Windows way is any more flexible or functional than the X way. > > X clients can get all the available information > > about any window open on any display they can talk > > to. > Covert channels, in other words. Not possible in NT. I don't know that I would call it a covert channel. They use the same mechanism to get information about other clients windows as they do to get information about theirs - they ask the X server to send them notifications for events in that window. As far as I can tell from your description, the only difference between Windows and X is that in Windows passes every event to every client to let the client choose, resulting in a boatload of context switches, whereas in X the clients have specified which events they want, and X does the determination internally, so you don't get context switches for clients that don't care about an event, which is a major savings as most clients don't care about events in other windows. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message