From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re-enable SIGIO when waiting for events Date: Fri, 17 Jul 2015 12:00:17 -0700 Organization: UCLA Computer Science Department Message-ID: <55A950C1.8020602@cs.ucla.edu> References: <1436615880-1719-1-git-send-email-mac@mcrowe.com> <87fv4n5g05.fsf@linaro.org> <87lhef6uc0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437159640 29111 80.91.229.3 (17 Jul 2015 19:00:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2015 19:00:40 +0000 (UTC) Cc: =?UTF-8?B?QWxleCBCZW5uw6ll?= , Mike Crowe To: Tassilo Horn , Emacs Development Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 17 21:00:31 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZGAs3-0004cZ-9G for ged-emacs-devel@m.gmane.org; Fri, 17 Jul 2015 21:00:31 +0200 Original-Received: from localhost ([::1]:45971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGAs2-0001VW-CO for ged-emacs-devel@m.gmane.org; Fri, 17 Jul 2015 15:00:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGArz-0001VG-1W for Emacs-devel@gnu.org; Fri, 17 Jul 2015 15:00:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZGArt-0007nd-Vd for Emacs-devel@gnu.org; Fri, 17 Jul 2015 15:00:26 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGArt-0007n6-Ps; Fri, 17 Jul 2015 15:00:21 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 53A6F1601B0; Fri, 17 Jul 2015 12:00:19 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9bTipR_cDPQ9; Fri, 17 Jul 2015 12:00:18 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AA018160999; Fri, 17 Jul 2015 12:00:18 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BSmxAWv25SpU; Fri, 17 Jul 2015 12:00:18 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 89A0D1601B0; Fri, 17 Jul 2015 12:00:18 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <87lhef6uc0.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187935 Archived-At: Tassilo Horn wrote: > I'm using it since yesterday and didn't see that issue anymore although > I've done some heavy c&p-ing between my browser and emacs which used to > trigger the problem with a very high likelyhood. Thanks for checking. I installed a similar patch as Emacs master commit 0592cefd03f1de2f04b721d07a16e6e0a9e48f73; could you please give it a try? It is like Mike Crowe's patch, except it avoids a race that could lose SIGIOs. I'll also send a heads-up email to the relevant bug reports.