[ZODB-Dev] [Persistent] STICKY mechanism unsafe
Dieter Maurer
dieter at handshake.de
Mon Aug 20 13:56:41 EDT 2007
Jim Fulton wrote at 2007-8-20 10:15 -0400:
>Excellent analysis snipped....
>
>> 1. and 3. (but obviously not 2.) could be handled by
>> implementing "STICKY" not by a bit but by a counter.
>
>This has been planned for some. :/
I have (reread) this in your "Different Cache Interaction" proposal.
Thanks to the GIL, it will also work for concurrent access from
different threads -- if "Used" and "Unused" are notified while
the GIL is held.
--
Dieter
More information about the ZODB-Dev
mailing list