File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,11 @@ method can be safely called repeatedly, even if the lock is already acquired.
56
56
57
57
.. note ::
58
58
59
- Unlike other implementations, the Lock Component distinguishes locks
60
- instances even when they are created for the same resource. If a lock has
61
- to be used by several services, they should share the same ``Lock `` instance
62
- returned by the ``LockFactory::createLock `` method.
59
+ Unlike other implementations, the Lock Component distinguishes lock
60
+ instances even when they are created for the same resource. It means that for
61
+ a given scope and resource one lock instance can be acquired multiple times.
62
+ If a lock has to be used by several services, they should share the same ``Lock ``
63
+ instance returned by the ``LockFactory::createLock `` method.
63
64
64
65
.. tip ::
65
66
You can’t perform that action at this time.
0 commit comments