[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A project-files implementation for Git projects
From: |
Michael Albinus |
Subject: |
Re: A project-files implementation for Git projects |
Date: |
Fri, 20 Sep 2019 17:04:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Dmitry Gutov <address@hidden> writes:
> I think this would require two events, though: queue-overflow-start
> and queue-overflow-stop.
I'm not sure that inotify signals that a queue could be reused. It must
be arranged by the client. inotify(7) says
Note that the event queue can overflow. In this case, events are lost.
Robust applications should handle the possibility of lost events grace‐
fully. For example, it may be necessary to rebuild part or all of the
application cache. (One simple, but possibly expensive, approach is to
close the inotify file descriptor, empty the cache, create a new ino‐
tify file descriptor, and then re-create watches and cache entries for
the objects to be monitored.)
This means, that a watch object returned by `file-notify-add-watch'
cannot be reused.
Let's first inform filenotify clients, that a watch is not valid
anymore. This gives them already valuable information.
Best regards, Michael.
- Re: A project-files implementation for Git projects, (continued)
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/19
- Re: A project-files implementation for Git projects, Eli Zaretskii, 2019/09/19
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/20
- Re: A project-files implementation for Git projects, Eli Zaretskii, 2019/09/20
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/20
- Re: A project-files implementation for Git projects, Stefan Monnier, 2019/09/20
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/20
- Re: A project-files implementation for Git projects, Michael Albinus, 2019/09/20
- Re: A project-files implementation for Git projects, Eli Zaretskii, 2019/09/20
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/20
- Re: A project-files implementation for Git projects,
Michael Albinus <=
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/22
- Re: A project-files implementation for Git projects, Michael Albinus, 2019/09/20
- Re: A project-files implementation for Git projects, Eli Zaretskii, 2019/09/20
- Re: A project-files implementation for Git projects, Stefan Monnier, 2019/09/20
- Re: A project-files implementation for Git projects, Eli Zaretskii, 2019/09/20
- Re: A project-files implementation for Git projects, Stefan Monnier, 2019/09/20
- Re: A project-files implementation for Git projects, Eli Zaretskii, 2019/09/20
- Re: A project-files implementation for Git projects, Stefan Monnier, 2019/09/20
- Re: A project-files implementation for Git projects, Eli Zaretskii, 2019/09/20
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/20