[Zope-dev] Thread Safe Counting

Chris Withers chrisw@nipltd.com
Sun, 11 Feb 2001 17:40:04 +0000


Steve Alexander wrote:
> 
> Chris Withers wrote:

> > So would a counter such as:
> >

<snip my counter>

> That's not the issue. 

Does that mean my counter is thread safe?

> Morten's product stores the counter's
> value in a file on the filesystem, and so it doesn't cause the
> Data.fs to grow.

Hmmm, well, my counter above wouldn't cause the data.fs to grow all that much,
since it subclasses Persistent and so gets its own pickle jar.

cheers,

Chris