Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e9afe6

Browse files
committed
[po] auto sync bot
1 parent 7d21674 commit 1e9afe6

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

library/threading.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,9 @@ msgid ""
894894
"been recursively acquired several times. Another internal interface is then "
895895
"used to restore the recursion level when the lock is reacquired."
896896
msgstr ""
897+
"当底层锁是个 :class:`RLock` ,不会使用它的 :meth:`release` "
898+
"方法释放锁,因为当它被递归多次获取时,实际上可能无法解锁。相反,使用了 :class:`RLock` 类的内部接口,即使多次递归获取它也能解锁它。 "
899+
"然后,在重新获取锁时,使用另一个内部接口来恢复递归级别。"
897900

898901
#: ../../library/threading.rst:613
899902
msgid ""
@@ -921,6 +924,8 @@ msgid ""
921924
"value of the predicate and will evaluate to ``False`` if the method timed "
922925
"out."
923926
msgstr ""
927+
"这个实用方法会重复地调用 :meth:`wait` 直到满足判断式或者发生超时。返回值是判断式最后一个返回值,而且如果方法发生超时会返回 "
928+
"``False`` 。"
924929

925930
#: ../../library/threading.rst:630
926931
msgid ""
@@ -933,7 +938,7 @@ msgid ""
933938
"Therefore, the same rules apply as with :meth:`wait`: The lock must be held "
934939
"when called and is re-acquired on return. The predicate is evaluated with "
935940
"the lock held."
936-
msgstr ""
941+
msgstr "因此,规则同样适用于 :meth:`wait` :锁必须在被调用时保持获取,并在返回时重新获取。 随着锁定执行判断式。"
937942

938943
#: ../../library/threading.rst:644
939944
msgid ""

0 commit comments

Comments
 (0)