[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gfile-based file notifications are not immediate
From: |
Michael Albinus |
Subject: |
Re: gfile-based file notifications are not immediate |
Date: |
Sun, 26 Oct 2014 17:41:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Dima Kogan <address@hidden> writes:
> Hi.
Hi Dima,
> The reason is that when emacs is idle, it's blocking in the pselect()
> call in xg_select() in process.c. pselect() is an operating-system call,
> not a glib one. Later on in xg_select() there's some code to kick the
> glib event loop, but as long as we're sitting in the pselect(), that
> secondary event loop remains untouched.
Stefan did propose to add another event queue for special events coming
from D-Bus or file notifications, separated from the input queue. See
<http://thread.gmane.org/gmane.emacs.devel/169268/focus=169278>.
> Once again, I'm not posting to the bug tracker yet.
Now that Emacs 24.4 has been released, we could think about
implementation. From my point of view, a bug entry would remind us.
I don't know whether I can spend sufficient time to volunteer
implementation, 'tho :-(
> dima
Best regards, Michael.