all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Gnus encrypted connections hang
Date: Fri, 01 Aug 2014 05:44:55 -0400	[thread overview]
Message-ID: <87y4v8tug8.fsf@lifelogs.com> (raw)
In-Reply-To: 53DB3E1B.9070900@yandex.ru

On Fri, 01 Aug 2014 11:13:31 +0400 Dmitry Antipov <dmantipov@yandex.ru> 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




      reply	other threads:[~2014-08-01  9:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 20:02 Several problems Ted Zlatanov
2014-07-30 20:10 ` Ted Zlatanov
2014-07-31  4:22 ` Dmitry Antipov
2014-07-31 23:23   ` Gnus encrypted connections hang (was: Several problems) Ted Zlatanov
2014-07-31 23:41     ` Gnus encrypted connections hang Ted Zlatanov
2014-08-01  7:01       ` Dmitry Antipov
2014-08-01  7:13     ` Dmitry Antipov
2014-08-01  9:44       ` Ted Zlatanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4v8tug8.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.