From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16681 invoked by alias); 4 Oct 2019 22:25:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 16190 invoked by uid 89); 4 Oct 2019 22:25:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: gateway31.websitewelcome.com Received: from gateway31.websitewelcome.com (HELO gateway31.websitewelcome.com) (192.185.143.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 Oct 2019 22:25:17 +0000 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 74A549E0B2 for ; Fri, 4 Oct 2019 17:25:10 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id GW0ciNRw1VUVYGW0ci9tn5; Fri, 04 Oct 2019 17:25:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zVQLwIHich81CFhf5Xibdc7JKleseKIH0vyYHgjZNKc=; b=oGskYWyyCJis4rqL1AiR7ZX+oi yS17xtXGpePVWZHv6p0SwuaKRJm7egw2+xuxb3Z5dH6ICba4x0Mte7sN4cm1rwXUZCcK5RHJgpDmd mqRpL5l6GgmShOBGPK9/dNBb6; Received: from 75-166-72-156.hlrn.qwest.net ([75.166.72.156]:43634 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iGW0c-000w0n-7I; Fri, 04 Oct 2019 16:25:10 -0600 From: Tom Tromey To: Pedro Alves Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFC 00/17] Merge event loop implementations References: <20190224165153.5062-1-tom@tromey.com> <3ae5ab8e-c219-6510-bb54-b30c1cf2d074@redhat.com> Date: Fri, 04 Oct 2019 22:25:00 -0000 In-Reply-To: <3ae5ab8e-c219-6510-bb54-b30c1cf2d074@redhat.com> (Pedro Alves's message of "Thu, 26 Sep 2019 18:47:20 +0100") Message-ID: <87v9t4qhbu.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-10/txt/msg00163.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Tom> Another related possible to-do item is changing the ser-event code to Tom> maintain just a single self-pipe. It seems to me that there's never a Tom> reason to need more than one. Pedro> Can you clarify/expand? Are you suggesting to use one single pipe, Pedro> and then if select/poll wakes up, go through a list of registered Pedro> ser-events to know which one triggered? Or something else? It seems to me that any use of a serial event could just be replaced with run_on_main_thread, from the threading patches, instead. Tom