On Tue, Jan 26, 2010 at 04:23:24PM +0100, Marc Lehmann <[email protected]> 
wrote:
> On Tue, Jan 26, 2010 at 09:40:19AM +0100, Yoann Vandoorselaere 
> <[email protected]> wrote:
> > As I understand it, inotify guarantee that you'll get an event for every
> > changes on the file.
> 
> That is impossible unless you make everything synchronous, so inotify
> cannot guarantee it.

Actually, you might confuse inotify with fsnotify or whatever it's called,
which actually does give you what you expect, but it's very performance
sensitive (you have to ack every action) and of course it requires
elevated privileges, so not suitable for libev (which is only interested
in stat changes).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to