Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit63c70a9

Browse files
committed
Reword concurency in same process
1 parent0e9449c commit63c70a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎lock.rst‎

Lines 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 ``LockFactory`` instead.
186187

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp