inotify?

Ken Brown kbrown@cornell.edu
Thu Oct 6 19:58:06 GMT 2022


On 10/6/2022 12:29 PM, Kevin Connor Arpe wrote:
> Hi,
> 
> Sorry, I am a GMail user, so I am unable to reply to the original email
> from Eric Blake eblake@redhat.com on Thu May 3 14:03:00 GMT 2018:
> https://cygwin.com/pipermail/cygwin/2018-May/237069.html
> 
> Eric wrote: <<And patches to make Cygwin support inotify_init() and
> friends implemented
> on top of the Windows native API are certainly welcome.>>
> 
> First, please correct me if Linux-style inotify is already supported in
> Cygwin.  As I understand, it is not.

That's correct.

[...]

> I would appreciate it if people could share their thoughts and advice.

I don't know if this will help, but Emacs has a filenotify feature which, on 
Linux, is based on inotify.  In the native Windows build of Emacs, filenotify is 
implemented in the file src/w32notify.c in the Emacs source tree.  Looking at 
how this is done might give you some ideas.

> The Linux inotify API is an excellent feature.  I have used it a few times
> with great success.  It would be nice to have this feature on Cygwin.

Agreed.  Good luck.

Ken


More information about the Cygwin mailing list