On 30 Mar, Rusty Ballinger scribbled:
-> > 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.
just makign sure... :) that means i have to really refcoutn AND keep
track of per req id... yay! :) thank god it works ok :)
--
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
The Rasterman (Carsten Haitzler) raster@xxxxxxxxxxxxx raster@xxxxxxxxxxx
raster@xxxxxxxxxxxxxxxxx raster@xxxxxxxxx
raster@xxxxxxxxxx
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|