[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: |
Michael Albinus |
Subject: |
Re: Using glib's g_file_monitor_file and g_file_monitor_directory |
Date: |
Thu, 21 Mar 2013 15:54:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Ted Zlatanov <address@hidden> writes:
> I am in favor, replacing the existing inotify backend and keeping the
> same API if possible, but there should be a way to avoid polling, even
> disable it by default, and I hope it's asynchronous to some degree. You
> can imagine how slow polling a ftp connection can be...
As far as I understand the API, polling is started by g_file_monitor_*
only in case there is no native monitoring library, which could do the
job. If you don't monitor an ftp:// mounted file, there's problem. It's up
to you :-)
> Ted
Best regards, Michael.