Merge lp:~openerp-dev/openobject-server/trunk-registry-lock-vmt into lp:openobject-server
Proposed by
Vo Minh Thu
Status: | Work in progress |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-server/trunk-registry-lock-vmt |
Merge into: | lp:openobject-server |
Diff against target: |
127 lines (+53/-28) 2 files modified
openerp/cron.py (+5/-2) openerp/modules/registry.py (+48/-26) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-server/trunk-registry-lock-vmt |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+83602@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 3831. By Vo Minh Thu
-
[IMP] registries: with lock, instead of acquire/release.
- 3830. By Vo Minh Thu
-
[MERGE] merged trunk.
- 3829. By Vo Minh Thu
-
[IMP] registries locking behavior:
RegistryManager.get() must always be able to return a currently
being initialized registry. This is true for the thread doing
the initialization. For other threads, get() should return only
completely initialized registries. (This is more consistent as
the first call to get() has thus the same behavior for any
calling thread.)
We also make sure the the cron master thread never ends up
calling new() by making possible to call get() in a non-
blocking way.