fsnotify icon indicating copy to clipboard operation
fsnotify copied to clipboard

Single inotify instance with multiple watchers

Open joelreymont opened this issue 9 years ago • 3 comments

An fd-per-watch quickly consumes more file descriptors than are allowed. Would you accept a patch that uses a single inotify instance and multiple watchers? This appears to be the approach recommended by the Linux kernel docs.

joelreymont avatar Jun 23 '15 19:06 joelreymont

Sure.

But I must admit the development here is not exactly active, have you looked at http://github.com/go-fsnotify/fsnotify repo?

If you want to do it, I have no problem merging it.

howeyc avatar Jun 23 '15 19:06 howeyc

Chris,

I need this for another project.

I'll try to take care of it this week.

joelreymont avatar Jun 23 '15 19:06 joelreymont

I think this issue is invalid. One watcher is created and multiple watchers are added to it so everything looks kosher!

joelreymont avatar Jun 24 '15 09:06 joelreymont