> I am updating an item in a separated thread but when it finishes the new > value is not updated in the same object in the main thread.
You need to call sync() on the connection object to see changes from another thread. http://zodb.readthedocs.org/en/latest/api.html#connections > In the example below root['counter'] starts in 0, is incremented in the new > thread but it remains in 0 in the main thread. if your increment a counter its best the counter be of type, BTrees.Length cheers, alan _______________________________________________ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev