From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25238 invoked by alias); 21 Apr 2005 18:56:17 -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 25135 invoked from network); 21 Apr 2005 18:56:10 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 21 Apr 2005 18:56:10 -0000 Received: (qmail 11908 invoked from network); 21 Apr 2005 18:56:09 -0000 Received: from localhost (HELO ?192.168.0.2?) (mitchell@127.0.0.1) by mail.codesourcery.com with SMTP; 21 Apr 2005 18:56:09 -0000 Message-ID: <4267F742.2090108@codesourcery.com> Date: Thu, 21 Apr 2005 18:56:00 -0000 From: Mark Mitchell Organization: CodeSourcery, LLC User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sources.redhat.com Subject: Re: PATCH: Support Windows in event-loop.c References: <200504210549.j3L5n2nP027728@sirius.codesourcery.com> <01c546a1$Blat.v2.4$e03250c0@zahav.net.il> In-Reply-To: <01c546a1$Blat.v2.4$e03250c0@zahav.net.il> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00254.txt.bz2 Eli Zaretskii wrote: > Is it perhaps possible to write an emulation of `select' that would > handle file handles as well Well, Cygwin has select, so it is *possible*. But, it's not easy, and it doesn't really map terribly well onto what Windows provides. As Daniel says, this is very much analogous to poll/select; different systems provide different low-level mechanisms for waiting for input. -- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304