FAM based fswatcher - first try

2007-01-24 Thread Philippe Roussel
Hi all You will find attached a implementation of fswatcher using the FAM API. It should link either with FAM (1) or gamin (2), which are available on different flavors of unix. The goal is to take advantage of existing facilities and getting rid of timers. FAM and gamin use kernel helpers to

Re: FAM based fswatcher - first try

2007-01-24 Thread Enrico Sersale
On 2007-01-24 19:05:01 +0200 Philippe Roussel [EMAIL PROTECTED] wrote: Hi all You will find attached a implementation of fswatcher using the FAM API. It should link either with FAM (1) or gamin (2), which are available on different flavors of unix. The goal is to take advantage of existing

Re: FAM based fswatcher - first try

2007-01-24 Thread Philippe Roussel
On Wed, Jan 24, 2007 at 09:27:05PM +0200, Enrico Sersale wrote: The original fswatcher doesn't create a new Watcher object if there already is one for a path beeing added; it adds only a listener, that is, it increments a counter. When, removing all listeners, the counter becomes 0, the