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: Eli Zaretskii
Subject: Re: Using glib's g_file_monitor_file and g_file_monitor_directory
Date: Tue, 04 Jun 2013 18:16:43 +0300

> Date: Mon, 03 Jun 2013 23:45:30 -0700
> From: Paul Eggert <address@hidden>
> Cc: address@hidden
> 
> * The XIL ((EMACS_INT) monitor) trick doesn't work in
>   general, since the monitor address could look like a
>   tagged Emacs object and the garbage collector could
>   go kaflooey on it.

You mean, if the monitor address is something other than a pointer?
Or do you mean that the alignment of that pointer might be not enough
to ensure that all the tag bits are zero?

>   Instead, perhaps use make_save_pointer,
>   as it's designed for this sort of thing.

AFAIR at the time Stefan didn't like this alternative (or any other,
for that matter).



reply via email to

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