From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2785 invoked by alias); 25 Apr 2005 15:18:04 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2513 invoked from network); 25 Apr 2005 15:17:46 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 25 Apr 2005 15:17:46 -0000 Received: (qmail 7540 invoked from network); 25 Apr 2005 15:17:45 -0000 Received: from localhost (HELO ?192.168.0.3?) (mitchell@127.0.0.1) by mail.codesourcery.com with SMTP; 25 Apr 2005 15:17:45 -0000 Message-ID: <426D0A11.4060604@codesourcery.com> Date: Mon, 25 Apr 2005 15:18:00 -0000 From: Mark Mitchell Organization: CodeSourcery, LLC User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Daniel Jacobowitz CC: Christopher Faylor , gdb-patches@sources.redhat.com Subject: Re: PATCH: Support Windows in event-loop.c References: <4267F742.2090108@codesourcery.com> <01c546b0$Blat.v2.4$c193bb40@zahav.net.il> <20050421205617.GA13146@nevyn.them.org> <01c54713$Blat.v2.4$5d0b4ea0@zahav.net.il> <20050424221806.GA13942@nevyn.them.org> <426C3270.4050608@codesourcery.com> <20050425042414.GA7322@trixie.casa.cgf.cx> <20050425131611.GA7821@nevyn.them.org> <20050425145023.GD6543@trixie.casa.cgf.cx> <426D05D6.8010903@codesourcery.com> <20050425150422.GA13753@nevyn.them.org> In-Reply-To: <20050425150422.GA13753@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00309.txt.bz2 Daniel Jacobowitz wrote: >>Does that seem like a workable plan to you? > > I don't think we should add something this limited. OK. I'll go code up something select-like for Windows. It will not be fully general because each new kind of event we want to wait for will in general require a new API call, and I can't enumerate what the eventual complete set might be. (In UNIX, everything is a file descriptor from this point of view; not true in Windows.) However, it will at least have the right interface. I'm not personally aware of how to get anything other than a console handle into this loop. Can you give me a test procedure that should get me something else, given the currently limited functionality on (non-Cygwin) Windows? Otherwise, I'd still prefer to add the generality to select once I can test what I'm dealing with. Thanks, -- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304