◐ Shell
reader mode source ↗
Python logo

目錄

  • threading --- 執行緒層級的平行處理
    • 介紹
    • GIL and performance considerations
    • Reference
      • Thread-local data
      • Thread 物件
      • Lock 物件
      • RLock 物件
      • Condition objects
      • Semaphore 物件
      • Semaphore 範例
      • Event objects
      • Timer 物件
      • Barrier 物件
    • Using locks, conditions, and semaphores in the with statement

上個主題

並行執行 (Concurrent Execution)

下個主題

multiprocessing --- 以行程為基礎的平行性

此頁面

  • 回報錯誤
  • 改進此頁面
  • 顯示原始碼
  • 顯示翻譯原始碼

導航

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python logo
  • Python »
  • 3.14.6 Documentation »
  • Python 標準函式庫 (Standard Library) »
  • 並行執行 (Concurrent Execution) »
  • threading --- 執行緒層級的平行處理
  • |
  • |

目錄

  • threading --- 執行緒層級的平行處理
    • 介紹
    • GIL and performance considerations
    • Reference
      • Thread-local data
      • Thread 物件
      • Lock 物件
      • RLock 物件
      • Condition objects
      • Semaphore 物件
      • Semaphore 範例
      • Event objects
      • Timer 物件
      • Barrier 物件
    • Using locks, conditions, and semaphores in the with statement

上個主題

並行執行 (Concurrent Execution)

下個主題

multiprocessing --- 以行程為基礎的平行性

此頁面

  • 回報錯誤
  • 改進此頁面
  • 顯示原始碼
  • 顯示翻譯原始碼
«

導航

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python logo
  • Python »
  • 3.14.6 Documentation »
  • Python 標準函式庫 (Standard Library) »
  • 並行執行 (Concurrent Execution) »
  • threading --- 執行緒層級的平行處理
  • |
  • |
© 版權所有 2001 Python Software Foundation.
此頁面採用 Python 軟體基金會授權條款第 2 版。
文件中的範例、應用技巧與其他程式碼額外採用了 Zero Clause BSD 授權條款。
更多訊息請見歷史與授權條款。

Python 軟體基金會是一家非營利法人。 敬請捐贈。

最後更新於 6月 12, 2026 (18:24 UTC)。 發現 bug?
以 Sphinx8.2.3建立。