[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH update2] Support for filesystem watching (inotify)
From: |
Rüdiger Sonderfeld |
Subject: |
Re: [PATCH update2] Support for filesystem watching (inotify) |
Date: |
Mon, 6 Jun 2011 20:56:10 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) |
On Sunday 05 June 2011 18:58:07 Eli Zaretskii wrote:
> > From: Rüdiger Sonderfeld <address@hidden>
> > Date: Sun, 5 Jun 2011 18:14:33 +0200
> > Cc: address@hidden
> >
> > On Sunday 05 June 2011 17:59:03 John Yates wrote:
> > > Is there a good reason not to provide access to the full functionality
> > > of the inotify API?
> >
> > Yes, the reason is portability. I want the same API to be available on
> > Linux, *BSD, OS X and Windows. inotify is the most advanced API and
> > therefore I can not support every inotify feature if I want to stay
> > compatible.
>
> Being compatible does not mean providing only the least common
> denominator. We have already several features that provide different
> levels of support depending on the underlying facilities. One example
> is process-attributes (which is the main primitive on which Proced is
> based). All you need is provide a superset of all the supported
> attributes, and document which ones are supported on which platform.
I could add the IN_OPEN, IN_ACCESS, IN_CLOSE_WRITE and IN_CLOSE_NOWRITE
feature. But having separate IN_MODIFY, IN_CREATE and IN_DELETE,
IN_DELETE_SELF would be problematic because they can't be separated for
kqueue. Maybe I should just export the basic inotify and kqueue API and
implement a portable layer on top of it in elisp.
Regards,
Rüdiger
- Re: [PATCH] Support for filesystem watching (inotify), (continued)
- Re: [PATCH] Support for filesystem watching (inotify), Jan Djärv, 2011/06/04
- Re: [PATCH update2] Support for filesystem watching (inotify), Rüdiger Sonderfeld, 2011/06/04
- Re: [PATCH update2] Support for filesystem watching (inotify), Jan Djärv, 2011/06/05
- Re: [PATCH update2] Support for filesystem watching (inotify), Andreas Schwab, 2011/06/05
- Re: [PATCH update2] Support for filesystem watching (inotify), Rüdiger Sonderfeld, 2011/06/05
- Re: [PATCH update2] Support for filesystem watching (inotify), John Yates, 2011/06/05
- Re: [PATCH update2] Support for filesystem watching (inotify), Rüdiger Sonderfeld, 2011/06/05
- Re: [PATCH update2] Support for filesystem watching (inotify), Eli Zaretskii, 2011/06/05
- Re: [PATCH update2] Support for filesystem watching (inotify),
Rüdiger Sonderfeld <=
- Re: [PATCH update2] Support for filesystem watching (inotify), Eli Zaretskii, 2011/06/06
Re: [PATCH] Support for filesystem watching (inotify), Eli Zaretskii, 2011/06/04
- Re: [PATCH updated] Support for filesystem watching (inotify), Rüdiger Sonderfeld, 2011/06/04
- Re: [PATCH updated] Support for filesystem watching (inotify), Eli Zaretskii, 2011/06/04
- Re: [PATCH updated] Support for filesystem watching (inotify), Thien-Thi Nguyen, 2011/06/04
- Re: [PATCH updated] Support for filesystem watching (inotify), Rüdiger Sonderfeld, 2011/06/04
- Re: [PATCH updated] Support for filesystem watching (inotify), Thien-Thi Nguyen, 2011/06/04
- Re: [PATCH updated] Support for filesystem watching (inotify), Štěpán Němec, 2011/06/05
- Re: [PATCH updated] Support for filesystem watching (inotify), Johan Bockgård, 2011/06/15
- Inlined cl functions -- how to learn about them, Štěpán Němec, 2011/06/16