From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: Gnus encrypted connections hang Date: Fri, 01 Aug 2014 11:13:31 +0400 Message-ID: <53DB3E1B.9070900@yandex.ru> References: <87vbqeobsg.fsf@lifelogs.com> <53D9C470.80703@yandex.ru> <877g2tglip.fsf_-_@lifelogs.com> 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 1406877245 31853 80.91.229.3 (1 Aug 2014 07:14:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2014 07:14:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 01 09:13:59 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 1XD72M-000689-Qx for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2014 09:13:58 +0200 Original-Received: from localhost ([::1]:60244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD72M-0001dg-C2 for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2014 03:13:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD72C-0001Uv-Gw for emacs-devel@gnu.org; Fri, 01 Aug 2014 03:13:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XD725-0007rA-8f for emacs-devel@gnu.org; Fri, 01 Aug 2014 03:13:48 -0400 Original-Received: from forward9l.mail.yandex.net ([84.201.143.142]:45802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD725-0007qv-3x for emacs-devel@gnu.org; Fri, 01 Aug 2014 03:13:41 -0400 Original-Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward9l.mail.yandex.net (Yandex) with ESMTP id A3340E61336; Fri, 1 Aug 2014 11:13:39 +0400 (MSK) Original-Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 3478113411AF; Fri, 1 Aug 2014 11:13:39 +0400 (MSK) Original-Received: from 167.gprs.mts.ru (167.gprs.mts.ru [213.87.138.167]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3OMbPdLZaU-DcxCgrb1; Fri, 1 Aug 2014 11:13:38 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 489e6d80-15e4-45dd-8bed-1521fb9d6935 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1406877218; bh=Ix32+hXMxbWzOD54YK/pVqymtmqqsJ8vq6tIG8eBwYI=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=YC97s1egM/XHmuiNI82mxMN98W/T1cKdd2ejjotf04UDfEbPBxyUalQiq4DMBeEy6 +ePNUhky9kdWLVGM7SK4jmWRsHEeKVPO4xlEAQg6KXFf0I+1gZtJH4w41zntjUvhYA bxjacA33bogfLh5cNSlvEYx9eW8Ta9KrPEkRTNU4= Authentication-Results: smtp1h.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: <877g2tglip.fsf_-_@lifelogs.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.143.142 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:173344 Archived-At: 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. The latter is done in trunk revision 117621. If you suspect a weird issue with timers, re-run with EMACS_IGNORE_TIMERFD environment variable set (and report your problems, of course). > If there was no previous discussion, could you explain a bit? Emacs' input reading is very complicated, and asynchronous signals complicates it even more. With timerfd and its counterpart signalfd, it's (in theory) possible to build a completely synchronous event loop and (hopefully) simplify a lot of things. Unfortunately this is GNU/Linux-specific. Dmitry