[Mono-list] FileSystemWatcher

John Luke john.luke@gmail.com
Wed, 09 Mar 2005 23:26:29 -0500


On Wed, 2005-03-09 at 19:25 -0500, Gonzalo Paniagua Javier wrote:
> 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
> implementation).
> 
> 
I am using gamin 0.25 (from rawhide) and it seems to work with the FAM
FSW watcher code ok.  An older version (the FC3 one I think) had a few
incompatibilities I think.