emacs-devel
[Top][All Lists]
Advanced

[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 07:44:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

On 05/28/2013 03:39 AM, Michael Albinus wrote:
> Comments on the patch are welcome. And we should also start to design an
> upper layer over gfilenotify.c, inotify.c and w32notify.c, which
> abstracts from the respective file notification events

I've been running into a similar issue with monitoring
child processes; see Bug#14474.  A couple of dumb questions:

Should the issues of file-change and process-change notifications
be combined, or kept separate?

Would it make sense, at the low level, for Emacs to rely on the
glib primitives in child-process area?  I worry about race
conditions (SIGCHLD arriving in the middle of memory allocation,
that sort of thing).



reply via email to

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