From mint-bounce@lists.fishpool.fi Sat Apr 30 21:02:08 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: Re: [MiNT] question about socket calls From: Evan Langlois To: mint@fishpool.com In-Reply-To: References: Content-Type: text/plain Date: Sat, 30 Apr 2005 13:59:04 -0500 Message-Id: <1114887545.8045.17.camel@taro.coolrunningconcepts.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - esc14.midphase.com X-AntiAbuse: Original Domain - fishpool.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - CoolRunningConcepts.com X-Source: X-Source-Args: X-Source-Dir: X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: Evan@CoolRunningConcepts.com 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=7.0 tests=AWL, BAYES_00 X-Spam-Level: On Sat, 2005-04-30 at 11:07 -0400, Lonny Pursell wrote: > on 4/30/2005 10:15 AM, Odd Skancke wrote: > > > The best way.... hmm... tell me you use XaAES, I'll add fselect to > > evnt_multi() and all your probs are solved :) > > Certainly would be an interesting approach. However, I am looking for a > solution that would still work with N.Aes at this time. Also the vnc > program can always be changed later. :-)) I'd certainly prefer the fselect() in evnt_multi() method, but it should be possible to hack it other ways. For example, you could tfork() a new thread that does the fselect() and then instructs the "gui" thread to exit from evnt_multi() either by sending it an AES message (probably slower), or sends that thread a signal such as SIGALRM, which theoretically should cause the evnt_multi() loop to exit.