[Zope] Sharing global data between threads / locking a method

Dieter Maurer dieter at handshake.de
Mon Jun 27 14:08:36 EDT 2005


Jonathan wrote at 2005-6-27 11:33 -0400:
> ...
>I am not sure when changes are made to 'temp_folder' objects as they are not 
>committed to the zodb (ie. do changes to temp_folder objects happen 
>immediately or are temp_folder changes also tied in to the committment 
>machinery)?

They are (tied to the commitment machinery).

The only difference between a "temp_folder" and a "less temporary"
object is its storage. "temp_folder" is backed by a
"Temporary Storage" that lives in RAM and disappears when
the process dies. Otherwise, it behaves like any persistent object.

-- 
Dieter


More information about the Zope mailing list