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" : " 92.12%" , "updated_at" : " 2023-11-09T02:57:38Z " }
1+ {"translation" : " 92.12%" , "updated_at" : " 2023-11-09T06:56:00Z " }
Original file line number Diff line number Diff line change @@ -5339,6 +5339,9 @@ msgid ""
53395339"be set to *sig*. The Windows version of :func:`kill` additionally takes "
53405340"process handles to be killed."
53415341msgstr ""
5342+ "Windows: :const:`signal.CTRL_C_EVENT` 和 :const:`signal.CTRL_BREAK_EVENT` "
5343+ "信号是只能发送给共享同一个控制台的控制台进程的特殊信号,例如某些子进程。 任何其他的 *sig* 值都将导致进程被 TerminateProcess "
5344+ "API 无条件的杀掉,且退出代码将被发给 *sig*。 Windows 版本的 :func:`kill` 还额外接受要被杀掉的进程句柄。"
53425345
53435346#: ../../library/os.rst:4233
53445347msgid "See also :func:`signal.pthread_kill`."
@@ -5373,7 +5376,7 @@ msgid ""
53735376"Return a file descriptor referring to the process *pid* with *flags* set. "
53745377"This descriptor can be used to perform process management without races and "
53755378"signals."
5376- msgstr ""
5379+ msgstr "返回一个指向设置了 *flags* 的进程 *pid* 的文件描述符。 该描述符可用于执行无需竞争和信号的进程管理。 "
53775380
53785381#: ../../library/os.rst:4269
53795382msgid "See the :manpage:`pidfd_open(2)` man page for more details."
You can’t perform that action at this time.
0 commit comments