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: Tue, 21 Jul 2015 13:42:20 +0100 Message-ID: <20150721124220.GA6160@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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1437482577 20053 80.91.229.3 (21 Jul 2015 12:42:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2015 12:42:57 +0000 (UTC) Cc: Emacs Development , Alex =?iso-8859-1?Q?Benn=E9e?= , Tassilo Horn To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 21 14:42:45 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 1ZHWsd-0001gl-47 for ged-emacs-devel@m.gmane.org; Tue, 21 Jul 2015 14:42:43 +0200 Original-Received: from localhost ([::1]:59203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWsc-00073Q-Dz for ged-emacs-devel@m.gmane.org; Tue, 21 Jul 2015 08:42:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWsY-00073K-Fh for Emacs-devel@gnu.org; Tue, 21 Jul 2015 08:42:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHWsU-0002CZ-DN for Emacs-devel@gnu.org; Tue, 21 Jul 2015 08:42:38 -0400 Original-Received: from smtpout.karoo.kcom.com ([212.50.160.34]:31700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWsP-00025N-AO; Tue, 21 Jul 2015 08:42:29 -0400 X-IronPort-AV: E=Sophos;i="5.15,516,1432594800"; d="scan'208";a="65043652" Original-Received: from deneb.mcrowe.com (HELO deneb) ([82.152.148.4]) by smtpout.karoo.kcom.com with ESMTP; 21 Jul 2015 13:42:21 +0100 Original-Received: from mac by deneb with local (Exim 4.84) (envelope-from ) id 1ZHWsG-0001hF-RG; Tue, 21 Jul 2015 13:42:20 +0100 Content-Disposition: inline In-Reply-To: <55A950C1.8020602@cs.ucla.edu> 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:188033 Archived-At: 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. Thanks. Mike.