[Zope-CMF] Re: cmfuid
Dieter Maurer
dieter at handshake.de
Tue Nov 23 16:09:23 EST 2004
Gregoire Weber wrote at 2004-11-23 18:33 +0100:
> ...
>>Making _p_independent of the Length object return false will cause a
>>read conflict to be generated at the time of uid generation (during
>>"change") if two threads ask for a uid simultaneously.
You cannot trust this: Assume T1 and T2 access the Length
object at the same time, then they both will read the same value --
because the invalidation is only sent when the transaction is committed!
--
Dieter
More information about the Zope-CMF
mailing list