ev_stat: What syscalls are supported?

Marc Lehmann schmorp at schmorp.de
Mon Aug 31 22:45:22 CEST 2009


On Mon, Aug 31, 2009 at 12:43:59PM -0600, Tony Arcieri <tony at medioh.com> wrote:
> I've read in the documentation that inotify is supported on Linux, and all
> other platforms use stat() polling.  Is this still the case, and are there

It is still the case.

> plans to support additional system calls in the future?

I don't know of any additional syscalls that could be used to implement that
(kqueue afaik can't, neither can similar mechanisms, afaik). as simple as
ev_stat watchers seem, only inotify seems to be powerful enough to implement
them.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list