From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Crowe Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re-enable SIGIO when waiting for events Date: Thu, 30 Jul 2015 17:31:55 +0100 Message-ID: <20150730163155.GA7628@mcrowe.com> References: <1436615880-1719-1-git-send-email-mac@mcrowe.com> <87fv4n5g05.fsf@linaro.org> <87lhef6uc0.fsf@gnu.org> <55A950C1.8020602@cs.ucla.edu> <20150721124220.GA6160@mcrowe.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1438273945 31826 80.91.229.3 (30 Jul 2015 16:32:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2015 16:32:25 +0000 (UTC) Cc: Emacs Development To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 30 18:32:17 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 1ZKqki-0004OT-ML for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2015 18:32:16 +0200 Original-Received: from localhost ([::1]:41037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKqkh-0007pQ-Tl for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2015 12:32:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKqkd-0007p1-KN for Emacs-devel@gnu.org; Thu, 30 Jul 2015 12:32:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKqkW-00021W-BI for Emacs-devel@gnu.org; Thu, 30 Jul 2015 12:32:11 -0400 Original-Received: from smtpout.karoo.kcom.com ([212.50.160.34]:33230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKqkW-0001xs-6E for Emacs-devel@gnu.org; Thu, 30 Jul 2015 12:32:04 -0400 X-IronPort-AV: E=Sophos;i="5.15,577,1432594800"; d="scan'208";a="66353429" Original-Received: from deneb.mcrowe.com (HELO deneb) ([82.152.148.4]) by smtpout.karoo.kcom.com with ESMTP; 30 Jul 2015 17:31:56 +0100 Original-Received: from mac by deneb with local (Exim 4.84) (envelope-from ) id 1ZKqkN-0002Tu-VY; Thu, 30 Jul 2015 17:31:55 +0100 Content-Disposition: inline In-Reply-To: <20150721124220.GA6160@mcrowe.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.50.160.34 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:188198 Archived-At: On Tuesday 21 July 2015 at 13:42:20 +0100, Mike Crowe wrote: > On Friday 17 July 2015 at 12:00:17 -0700, Paul Eggert wrote: > > 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. > > I prefer your version and will switch to testing it instead. I've been testing with 0592cefd03f1de2f04b721d07a16e6e0a9e48f73 applied to Debian Jessie's emacs24 (24.4+1-5) for over a week now without seeing any problems so I think we can call the bug fixed. Thanks Paul! Mike.