> ie - if i ask fam to monitor a directory twice does it wait till i ask
> it twice to stop monitoring? (just wondering as i'm writign my
> abstraction layer right now and i wodner if i need to refcount watches
> myself) als will it send 1 or 2 changed events if i asked twice? hmmm i
> guess it will send 2 - one per famrequest id right? thats a guess.. :)
Yeah, I just tried the little test program, and if you ask it to monitor
the same directory twice, you get two events for each file. When you
ask it to stop monitoring, I think that's done per fam-request too, so
you'd have to ask it to stop monitoring twice as well.
--Rusty
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|