ev_stat: What syscalls are supported?
Tony Arcieri
tony at medioh.com
Mon Aug 31 22:53:15 CEST 2009
On Mon, Aug 31, 2009 at 2:45 PM, Marc Lehmann <schmorp at schmorp.de> wrote:
> 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.
>
For what it's worth the EventMachine library (a Ruby library with a custom
C++ native extension) supports kqueue for filesystem events, although I
don't know what platforms they use it on or how reliable it is. Apple
claims kqueue can be used for filesystem monitoring, in addition to their
own proprietary fsevents API:
http://developer.apple.com/mac/library/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/Introduction.html
OS X is may main platform of interest here, if you haven't inferred that
already.
--
Tony Arcieri
Medioh/Nagravision
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20090831/65f5246a/attachment.html>
More information about the libev
mailing list