[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using glib's g_file_monitor_file and g_file_monitor_directory

From: Paul Eggert
Subject: Re: Using glib's g_file_monitor_file and g_file_monitor_directory
Date: Tue, 28 May 2013 09:52:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

On 05/28/13 09:43, Eli Zaretskii wrote:
> So you are asking whether it would make sense to replace use of
> 'select' for process notifications by events that are put on the
> keyboard queue?

Something like that, yes.  It wouldn't be a keyboard queue,
so much as a unified event queue.  Currently Emacs's low
level is confusing, since it's getting notifications
via signals and via reads.  It'd be nicer if there was just
one way to get notified, and if most of the low-level code
didn't have to worry about being interrupted by signal handlers.

I don't have a concrete suggestion, and maybe the whole idea
is a pipe dream....

reply via email to

[Prev in Thread] Current Thread [Next in Thread]