[Zope-dev] Re: ComputedAttribute
Steve Alexander
steve@cat-box.net
Thu, 11 Jan 2001 10:21:09 +0000
Martijn Pieters wrote:
>
> But because _v_* variables don't get pickled, another thread will never
> see them. If you want non-persisting (volatile) variables shared between
> threads, you'll have to devise your own mechanism for assuring the
> thread-safety of those variables.
Or, instead of devising your own mechanism, you can borrow someone else's:
http://www.handshake.de/~dieter/pyprojects/zope/SharedResource.html
Thanks Dieter!
--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net