fam
[Top] [All Lists]

Re: [fam] refcounting.....

To: fam@xxxxxxxxxxx
Subject: Re: [fam] refcounting.....
From: "Rusty Ballinger" <rusty@xxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Mar 2000 16:53:41 -0800
In-reply-to: raster@xxxxxxxxxxxxx "[fam] refcounting....." (Mar 30, 5:44pm)
References: <200003310144.RAA03597@xxxxxxxxxxxx>
Reply-to: rusty@xxxxxxx
Sender: owner-fam@xxxxxxxxxxx
> 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

<Prev in Thread] Current Thread [Next in Thread>