Skip to content

Commit 9ac3556

Browse files
committed
fix(howto/sockets.po): 更改專有名詞
gh-466
1 parent c3e1a40 commit 9ac3556

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

howto/sockets.po

+5-5
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ msgid ""
209209
"allocated port which will be recycled when the conversation ends."
210210
msgstr ""
211211
"事實上,有三種方法可以讓這個迴圈運作 - 分配一個執行緒 (thread) 來處理 "
212-
"``clientsocket`` 、建立一個程序 (process) 來處理 ``clientsocket``,或者將"
212+
"``clientsocket`` 、建立一個新行程 (process) 來處理 ``clientsocket``,或者將"
213213
"這個程式重新改寫成使用非阻塞 socket,並使用 ``select`` 在我們的「伺服器端」"
214214
"socket 和任何有效的 ``clientsocket`` 之間進行多工處理。稍後將會更詳細的介紹。"
215215
"現在最重要的是理解:這就是「伺服器端」socket 做的\\ *所有* \\事情。它不會發送任何"
@@ -231,7 +231,7 @@ msgid ""
231231
"a shortcut around a couple of layers of network code and be quite a bit "
232232
"faster."
233233
msgstr ""
234-
"如果你需要在一台機器上的兩個程序間進行快速的程序間通訊 (IPC),你應該考慮使用"
234+
"如果你需要在一台機器上的兩個行程間進行快速的行程間通訊 (IPC),你應該考慮使用"
235235
"管道 (pipes) 或共享記憶體 (shared memory)。如果你確定要使用 AF_INET sockets,"
236236
"請將「伺服器端」socket 綁定到 ``'localhost'``。在大多數平台上,這樣將會繞過幾個"
237237
"網路程式碼層,並且速度會更快一些。"
@@ -240,7 +240,7 @@ msgstr ""
240240
msgid ""
241241
"The :mod:`multiprocessing` integrates cross-platform IPC into a higher-level "
242242
"API."
243-
msgstr ":mod:`multiprocessing` 將跨平台程序間通訊整合到更高層的 API 中。"
243+
msgstr ":mod:`multiprocessing` 將跨平台行程間通訊整合到更高層的 API 中。"
244244

245245
#: ../../howto/sockets.rst:134
246246
msgid "Using a Socket"
@@ -540,8 +540,8 @@ msgstr ""
540540
"它在放棄連線之前會等待很長很長的時間。如果你正在使用執行緒,整個執行緒基本上"
541541
"已經無法使用。在這方面,你無法做太多事情。只要你不做一些愚蠢的事情,比如在"
542542
"執行阻塞式讀取時持有一個鎖,那麼執行緒並不會消耗太多資源。*不要*\\ 試圖終止"
543-
"執行緒 - 執行緒比程序更有效的部分原因是它們避免了與自動回收資源相關的開銷。換"
544-
"句話說,如果你確實設法終止了執行緒,整個程序可能會出現問題。"
543+
"執行緒 - 執行緒比行程更有效的部分原因是它們避免了與自動回收資源相關的開銷。換"
544+
"句話說,如果你確實設法終止了執行緒,整個行程可能會出現問題。"
545545

546546
#: ../../howto/sockets.rst:318
547547
msgid "Non-blocking Sockets"

0 commit comments

Comments
 (0)