curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sznajder ForMailingList <bs4mailingl...@gmail.com>
Subject Re: Usage of SharedCount
Date Sun, 15 Dec 2013 23:45:40 GMT
Thanks, Jordan for your answer!!

Will the other processes see the updated value under this node, if I did
not call close() yet?

Benjamin


On Mon, Dec 16, 2013 at 12:36 AM, Jordan Zimmerman <
jordan@jordanzimmerman.com> wrote:

> Call close() when you are done with the object. i.e. allocate once, close
> once. Think of a file handle, etc.
>
> On Dec 15, 2013, at 4:19 PM, Sznajder ForMailingList <
> bs4mailinglist@gmail.com> wrote:
>
> > Hi
> >
> > When I am using SharedCount for counting, should I call
> SharedCount.close() every time, I changed the value of the SharedCount?
> > Or, this close() must be called only, at the end of the process?
> >
> > Many thanks!
> >
> > Benjamin
>
>

Mime
View raw message