From mint-bounce@lists.fishpool.fi Thu Oct 28 08:56:32 2004 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Date: Thu, 28 Oct 2004 08:55:35 +0200 (CEST) From: Frank Naumann X-X-Sender: fnaumann@muecke.local To: mint@fishpool.com Subject: Re: [MiNT] Fpoll() in GEM programs In-Reply-To: <200410280115.29861.h.robbers@chello.nl> Message-ID: <20041028084227.K3028@muecke.local> References: <417CD550.80306@atari.org> <20041027172635.1489.qmail@mailcz.in.systinet.com> <417FE0B2.5010403@utbm.fr> <200410280115.29861.h.robbers@chello.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scan-Signature: bf3494db43e222837af1dae40f3cbfd0 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: fnaumann@cs.uni-magdeburg.de Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=3.8 tests=BAYES_00 X-Spam-Level: Hello! > A good AES application should have only 1 waiting point, > which is its central evnt_multi. > > My suggestion would be another event bit: MU_SELECT > and a direct response mode bit: MU_DIRECT_RESPONSE. > if the bit is set and there are no events, evnt_multi exits with > zero event. !!! Unless a timer event is set, in which case the app > is suspended until any event occurs (including of course timer). > > With MU_SELECT you have a way of getting filehandle or socket events > the AES way. I aggree with with you but I rather vote to introduce a new evnt_multi AES system call for that. Applications that are aware can use the new system call and there is no compatibility problem. Internally XaAES only need to wrap old evnt_multi to the new one. The new evnt_multi can also be designed a bit better in this case :-) Regards, Frank -- ATARI FALCON 060 // MILAN 060 ----------------------------------------- http://www.cs.uni-magdeburg.de/~fnaumann/ e-Mail: fnaumann@freemint.de