watching for new files: libevent vs. libev
jann+libev at thejh.net
Thu Apr 4 21:40:10 CEST 2013
On Thu, Apr 04, 2013 at 01:04:35PM -0400, Mikhail T. wrote:
> By adding EV_ET to the flags, I can watch a directory for changes --
> such as files being added or removed to it -- using libevent (at least,
> on FreeBSD). Sample program attached.
> Does libev provide a similar functionality? Some mailing list archives
> suggest, edge-triggered events aren't supported by libev (for
> portability?), but those pages are from 2010. Have there been
> improvements since, perhaps?
Have a look at the documentation:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the libev