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

Skip to content

Commit ed5feac

Browse files
[po] auto sync
1 parent 81cf973 commit ed5feac

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.61%", "updated_at": "2024-01-23T13:24:44Z"}
1+
{"translation": "90.61%", "updated_at": "2024-01-23T14:23:55Z"}

c-api/init.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,9 @@ msgid ""
926926
"the same object, the reference count could end up being incremented only "
927927
"once instead of twice."
928928
msgstr ""
929+
"Python 解释器不是完全线程安全的。 为了支持多线程的 Python 程序,设置了一个全局锁,称为 :term:`global "
930+
"interpreter lock` 或 :term:`GIL`,当前线程必须在持有它之后才能安全地访问 Python 对象。 "
931+
"如果没有这个锁,即使最简单的操作也可能在多线程的程序中导致问题:例如,当两个线程同时增加相同对象的引用计数时,引用计数可能最终只增加了一次而不是两次。"
929932

930933
#: ../../c-api/init.rst:661
931934
msgid ""

0 commit comments

Comments
 (0)