inotify features

Garrett Smith g at
Wed Feb 18 01:30:16 CET 2009

----- "Marc Lehmann" <schmorp at> wrote:
> No, inotify is extremely linux-dependent, and I will not introduce
> features into libev that only work on some platforms (which explains
> the semantics of stat watchers).

Yeah, I forgot about that. Good point :)
> Well, it should be straightforward enough to simply use inotify
> yourself.

That's what I'm doing, and it's a clean and simple implementation
within libev.

The stat notify does tell you when a file was created, but not which
file. With very large directories, it becomes very expensive to sort
through what changed.


More information about the libev mailing list