Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 39f7906

Browse filesBrowse files
committed
Reword concurency in same process
1 parent 0e9449c commit 39f7906
Copy full SHA for 39f7906

File tree

1 file changed

+3
-2
lines changed
Filter options

1 file changed

+3
-2
lines changed

‎lock.rst

Copy file name to clipboardExpand all lines: lock.rst
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ To lock the default resource, autowire the lock using
181181
.. caution::
182182

183183
The same instance of ``LockInterface`` won't block when calling ``acquire``
184-
multiple times. If several services share the same ``lock`` service, they
185-
won't lock each other, use ``LockFactory`` instead.
184+
multiple times. Inside the same process, when several services share the
185+
same instance of ``LockInterface``, they won't lock each other. When the
186+
same process run concurent tasks, inject the the ``LockFactory`` instead.
186187

187188
Locking a Dynamic Resource
188189
--------------------------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.