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 Watcher object is removed from the watchers array.
In this case, a Watcher keeps a NSCountedSet of clients/listeners. If you call fswatcher 10 times with the same path, a single watcher (with a single FAM request) will be created, modulo bugs of course. > '--daemon' is not intended to be used from the command line; it is only an > internal way to create a daemon using only NSTask instead of fork(); many > GNUstep daemons does this; gdnc, gpbs, etc. Ok, thanks for the explanation. Philippe -- Always think of something new; this helps you forget your last rotten idea. Seth Frankel _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev