From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Gnus encrypted connections hang Date: Fri, 01 Aug 2014 05:44:55 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y4v8tug8.fsf@lifelogs.com> References: <87vbqeobsg.fsf@lifelogs.com> <53D9C470.80703@yandex.ru> <877g2tglip.fsf_-_@lifelogs.com> <53DB3E1B.9070900@yandex.ru> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406886329 10890 80.91.229.3 (1 Aug 2014 09:45:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2014 09:45:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 01 11:45:21 2014 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 1XD9Or-0002b3-8r for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2014 11:45:21 +0200 Original-Received: from localhost ([::1]:38158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD9Oq-0004eT-Uc for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2014 05:45:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD9Oi-0004Xa-IN for emacs-devel@gnu.org; Fri, 01 Aug 2014 05:45:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XD9Oc-0007oj-9a for emacs-devel@gnu.org; Fri, 01 Aug 2014 05:45:12 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:45947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD9Oc-0007mj-3S for emacs-devel@gnu.org; Fri, 01 Aug 2014 05:45:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XD9Oa-0002HC-DQ for emacs-devel@gnu.org; Fri, 01 Aug 2014 11:45:04 +0200 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2014 11:45:04 +0200 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2014 11:45:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:yu5wA+It+FpPNCUqXiLiPrrB/HI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:173347 Archived-At: On Fri, 01 Aug 2014 11:13:31 +0400 Dmitry Antipov wrote: DA> On 08/01/2014 03:23 AM, Ted Zlatanov wrote: >> I also asked about the reason for introducing this change recently, >> and if it can be made configurable and optional, at least. DA> The latter is done in trunk revision 117621. If you suspect a weird DA> issue with timers, re-run with EMACS_IGNORE_TIMERFD environment DA> variable set (and report your problems, of course). Oh, nice. This morning GMail was very slow, almost unusable. I was able to determine that it was not a problem from your changes by running with and without that environment variable. Very helpful! >> If there was no previous discussion, could you explain a bit? DA> Emacs' input reading is very complicated, and asynchronous signals DA> complicates it even more. With timerfd and its counterpart signalfd, DA> it's (in theory) possible to build a completely synchronous event DA> loop and (hopefully) simplify a lot of things. Unfortunately this DA> is GNU/Linux-specific. Thanks for explaining. That's a very sensible change. I recall Mac OS X has a similar mechanism, "Grand Central Dispatch" maybe? W32 has such facilities as well. Maybe they'll also be used eventually. Ted