@@ -3733,29 +3733,29 @@ msgstr "该宏将在系统支持原生线程 ID 时被定义。"
37333733msgid ""
37343734"Get the native identifier of the current thread as it was assigned by the "
37353735"operating system's kernel, which will never be less than zero."
3736- msgstr ""
3736+ msgstr "获取当前线程由操作系统的内核所分配的原生标识号,它绝对不会小于零。 "
37373737
37383738#: ../../c-api/init.rst:2707
37393739msgid ""
37403740"This function is only available when :c:macro:`PY_HAVE_THREAD_NATIVE_ID` is "
37413741"defined."
3742- msgstr ""
3742+ msgstr "此函数仅在定义了 :c:macro:`PY_HAVE_THREAD_NATIVE_ID` 时可用。 "
37433743
37443744#: ../../c-api/init.rst:2714
37453745msgid ":py:func:`threading.get_native_id`"
3746- msgstr ""
3746+ msgstr ":py:func:`threading.get_native_id` "
37473747
37483748#: ../../c-api/init.rst:2719
37493749msgid ""
37503750"Terminate the current thread. This function is generally considered unsafe "
37513751"and should be avoided. It is kept solely for backwards compatibility."
3752- msgstr ""
3752+ msgstr "终结当前线程。 此函数通常被视为是不安全的并应避免使用。 它只是为了向下兼容而被保留。 "
37533753
37543754#: ../../c-api/init.rst:2722
37553755msgid ""
37563756"This function is only safe to call if all functions in the full call stack "
37573757"are written to safely allow it."
3758- msgstr ""
3758+ msgstr "此函数仅在整个调用栈中的所有函数都被编写为能够安全地支持它时才能被安全地调用。 "
37593759
37603760#: ../../c-api/init.rst:2727
37613761msgid ""
@@ -3765,26 +3765,28 @@ msgid ""
37653765"``noexcept`` function is reached, it may terminate the process. Other "
37663766"systems, such as macOS, do unwinding."
37673767msgstr ""
3768+ "如果当前系统使用 POSIX 线程(或称“p线程”),此函数将调用 :manpage:`pthread_exit(3)`,它会尝试展开栈并在某些 "
3769+ "libc 实现上调用 C++析构器,如果抵达一个 ``noexcept`` 函数,它可能会终结进程。 在其他系统,如 macOS 上,只执行展开。"
37683770
37693771#: ../../c-api/init.rst:2733
37703772msgid ""
37713773"On Windows, this function calls ``_endthreadex()``, which kills the thread "
37723774"without calling C++ destructors."
3773- msgstr ""
3775+ msgstr "在 Windows 上,此函数将调用 ``_endthreadex()``,它将杀掉线程而不调用 C++ 析构器。 "
37743776
37753777#: ../../c-api/init.rst:2736
37763778msgid "In any case, there is a risk of corruption on the thread's stack."
3777- msgstr ""
3779+ msgstr "在任何情况下,都存在线程栈损坏的风险。 "
37783780
37793781#: ../../c-api/init.rst:2741
37803782msgid ""
37813783"Initialize ``PyThread*`` APIs. Python executes this function automatically, "
37823784"so there's little need to call it from an extension module."
3783- msgstr ""
3785+ msgstr "初始化 ``PyThread*`` API。 Python 会自动执行此函数,因此很少需要从扩展模块调用它。 "
37843786
37853787#: ../../c-api/init.rst:2747
37863788msgid "Set the stack size of the current thread to *size* bytes."
3787- msgstr ""
3789+ msgstr "将当前线程的栈大小设为 *size* 个字节。 "
37883790
37893791#: ../../c-api/init.rst:2749
37903792msgid ""