diff --git a/library/threading.po b/library/threading.po index 2bab3b5173..20f1a06dfd 100644 --- a/library/threading.po +++ b/library/threading.po @@ -19,7 +19,7 @@ msgstr "" #: ../../library/threading.rst:2 msgid ":mod:`!threading` --- Thread-based parallelism" -msgstr ":mod:`!threading` --- 基於執行緒的平行性" +msgstr ":mod:`!threading` --- 執行緒層級的平行處理" #: ../../library/threading.rst:7 msgid "**Source code:** :source:`Lib/threading.py`" @@ -30,6 +30,7 @@ msgid "" "This module constructs higher-level threading interfaces on top of the lower " "level :mod:`_thread` module." msgstr "" +"此模組在較低層的 :mod:`_thread` 模組之上,建構了較高層的執行緒(threading)介面。" #: ../../library/threading.rst:194 ../../library/threading.rst:293 #: ../../library/threading.rst:678 ../../includes/wasm-notavail.rst:3 @@ -46,7 +47,7 @@ msgstr "" #: ../../library/threading.rst:17 msgid "Introduction" -msgstr "" +msgstr "介紹" #: ../../library/threading.rst:19 msgid "" @@ -58,6 +59,12 @@ msgid "" "bound, such as file operations or making network requests, where much of the " "time is spent waiting for external resources." msgstr "" +"模組 :mod:`!threading` 提供了一種方式,能在單一進程(process)中同時執行多個 " +"`執行緒 `_ " +"(一個進程中的較小執行單元)。" +"它允許創造與管理執行緒,使多個任務可以平行執行並共享同一個記憶體空間。" +"當任務屬於 I/O 密集型(I/O bound)時,執行緒特別有用,例如檔案操作或網路請求," +"因為這類任務的大部分時間都花在等待外部資源。" #: ../../library/threading.rst:27 msgid "" @@ -65,6 +72,8 @@ msgid "" "threads that can process multiple tasks concurrently. Here's a basic " "example of creating and starting threads using :class:`~threading.Thread`::" msgstr "" +"模組 :mod:`!threading` 的一個典型使用情境是管理一個工作執行緒(worker threads)池,讓多個任務能夠同時被處理。" +"以下是一個使用 :class:`~threading.Thread`: 來創造並啟動執行緒的基本範例:" #: ../../library/threading.rst:31 msgid ""