File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 93.38 %" , "updated_at" : " 2024-01-26T02:05:20Z " }
1+ {"translation" : " 93.39 %" , "updated_at" : " 2024-01-26T02:55:34Z " }
Original file line number Diff line number Diff line change @@ -1375,6 +1375,11 @@ msgid ""
13751375"originally initialized. The only exception is if :c:func:`exec` will be "
13761376"called immediately after."
13771377msgstr ""
1378+ "所有其他线程都将结束这一事实也意味着 CPython 的运行时状态必须妥善清理,:func:`os.fork` 就是这样做的。 "
1379+ "这意味着最终化归属于当前解释器的所有其他 :c:type:`PyThreadState` 对象以及所有其他 "
1380+ ":c:type:`PyInterpreterState` 对象。 由于这一点以及 :ref:`\" main\" 解释器 <sub-"
1381+ "interpreter-support>` 的特殊性质,:c:func:`fork` 应当只在该解释器 的 \" main\" 线程中被调用,而 "
1382+ "CPython 全局运行时最初就是在该线程中初始化的。 只有当 :c:func:`exec` 将随后立即被调用的情况是唯一的例外。"
13781383
13791384#: ../../c-api/init.rst:1005
13801385msgid "High-level API"
You can’t perform that action at this time.
0 commit comments