[Mono-list] FileSystemWatcher

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Wed, 09 Mar 2005 19:25:41 -0500

On Wed, 2005-03-09 at 16:02 +0000, Neil J. Patel wrote: 
> Hi,
>        I have a quick question about the FileSystemWatcher class.
> First of all, i know about FAm first then polling, but wanted to know
> whether or not that also means gamin, AFAIK FC3 doesn't ship with
> FAM, but uses gamin instead.
>     Also, is there anyway to figure out which method is in use (apart
> from relying on MONO_MANAGED_WATCHER) i.e. figuring out
> whether or not it found FAM?

There's no way to figure this out. If you have the FAM client libraries,
they can be loaded and there's a fam server, it will be used. Otherwise,
it will use the managed implementation (on MacOS it uses the knotify