Revision c307ee34
b/lib/locking.py | ||
---|---|---|
855 | 855 |
# Lock monitor |
856 | 856 |
self.__monitor = monitor |
857 | 857 |
|
858 |
# Used internally to guarantee coherency.
|
|
859 |
self.__lock = SharedLock(name)
|
|
858 |
# Used internally to guarantee coherency |
|
859 |
self.__lock = SharedLock(self._GetLockName("[lockset]"), monitor=monitor)
|
|
860 | 860 |
|
861 | 861 |
# The lockdict indexes the relationship name -> lock |
862 | 862 |
# The order-of-locking is implied by the alphabetical order of names |
Also available in: Unified diff