~camptocamp/openobject-server/trunk-registrymanager-rlock-1238560-gbr

Viewing all changes in revision 4970.

  • Committer: Guewen Baconnier
  • Date: 2013-10-11 10:42:07 UTC
  • Revision ID: guewen.baconnier@camptocamp.com-20131011104207-ajs0rzi7ev1es6pb
[FIX] missing a threading.RLock in RegistryManager.get():

  if no registry exists and several calls to RegistryManager.get() are called at the same time
  by several threads, several registries will be created one after the other and only the last
  one will be kept in cls.registries

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: