<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](threading.xhtml "threading --- 基于線程的并行") | - [上一頁](ctypes.xhtml "ctypes --- Python 的外部函數庫") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.xhtml) ? - $('.inline-search').show(0); | # 并發執行 本章中描述的模塊支持并發執行代碼。 適當的工具選擇取決于要執行的任務(CPU密集型或IO密集型)和偏好的開發風格(事件驅動的協作式多任務或搶占式多任務處理)。 這是一個概述: - [`threading` --- 基于線程的并行](threading.xhtml) - [線程本地數據](threading.xhtml#thread-local-data) - [線程對象](threading.xhtml#thread-objects) - [鎖對象](threading.xhtml#lock-objects) - [遞歸鎖對象](threading.xhtml#rlock-objects) - [條件對象](threading.xhtml#condition-objects) - [信號量對象](threading.xhtml#semaphore-objects) - [`Semaphore` 例子](threading.xhtml#semaphore-example) - [事件對象](threading.xhtml#event-objects) - [定時器對象](threading.xhtml#timer-objects) - [柵欄對象](threading.xhtml#barrier-objects) - [在 `with` 語句中使用鎖、條件和信號量](threading.xhtml#using-locks-conditions-and-semaphores-in-the-with-statement) - [`multiprocessing` --- 基于進程的并行](multiprocessing.xhtml) - [概述](multiprocessing.xhtml#introduction) - [`Process` 類](multiprocessing.xhtml#the-process-class) - [上下文和啟動方法](multiprocessing.xhtml#contexts-and-start-methods) - [在進程之間交換對象](multiprocessing.xhtml#exchanging-objects-between-processes) - [進程之間的同步](multiprocessing.xhtml#synchronization-between-processes) - [在進程之間共享狀態](multiprocessing.xhtml#sharing-state-between-processes) - [使用工作進程](multiprocessing.xhtml#using-a-pool-of-workers) - [參考](multiprocessing.xhtml#reference) - [`Process` 和異常](multiprocessing.xhtml#process-and-exceptions) - [管道和隊列](multiprocessing.xhtml#pipes-and-queues) - [雜項](multiprocessing.xhtml#miscellaneous) - [連接(Connection)對象](multiprocessing.xhtml#connection-objects) - [同步原語](multiprocessing.xhtml#synchronization-primitives) - [Shared `ctypes` Objects](multiprocessing.xhtml#shared-ctypes-objects) - [The `multiprocessing.sharedctypes` module](multiprocessing.xhtml#module-multiprocessing.sharedctypes) - [Managers](multiprocessing.xhtml#managers) - [Customized managers](multiprocessing.xhtml#customized-managers) - [Using a remote manager](multiprocessing.xhtml#using-a-remote-manager) - [代理對象](multiprocessing.xhtml#proxy-objects) - [Cleanup](multiprocessing.xhtml#cleanup) - [進程池](multiprocessing.xhtml#module-multiprocessing.pool) - [Listeners and Clients](multiprocessing.xhtml#module-multiprocessing.connection) - [Address Formats](multiprocessing.xhtml#address-formats) - [Authentication keys](multiprocessing.xhtml#authentication-keys) - [日志](multiprocessing.xhtml#logging) - [The `multiprocessing.dummy` module](multiprocessing.xhtml#module-multiprocessing.dummy) - [Programming guidelines](multiprocessing.xhtml#programming-guidelines) - [All start methods](multiprocessing.xhtml#all-start-methods) - [The *spawn* and *forkserver* start methods](multiprocessing.xhtml#the-spawn-and-forkserver-start-methods) - [示例](multiprocessing.xhtml#examples) - [`concurrent` 包](concurrent.xhtml) - [`concurrent.futures` --- 啟動并行任務](concurrent.futures.xhtml) - [執行器對象](concurrent.futures.xhtml#executor-objects) - [ThreadPoolExecutor](concurrent.futures.xhtml#threadpoolexecutor) - [ProcessPoolExecutor例子](concurrent.futures.xhtml#threadpoolexecutor-example) - [ProcessPoolExecutor](concurrent.futures.xhtml#processpoolexecutor) - [ProcessPoolExecutor例子](concurrent.futures.xhtml#processpoolexecutor-example) - [期程對象](concurrent.futures.xhtml#future-objects) - [模塊函數](concurrent.futures.xhtml#module-functions) - [Exception類](concurrent.futures.xhtml#exception-classes) - [`subprocess` --- 子進程管理](subprocess.xhtml) - [使用 `subprocess` 模塊](subprocess.xhtml#using-the-subprocess-module) - [常用參數](subprocess.xhtml#frequently-used-arguments) - [Popen 構造函數](subprocess.xhtml#popen-constructor) - [異常](subprocess.xhtml#exceptions) - [安全考量](subprocess.xhtml#security-considerations) - [Popen 對象](subprocess.xhtml#popen-objects) - [Windows Popen 助手](subprocess.xhtml#windows-popen-helpers) - [Windows Constants](subprocess.xhtml#windows-constants) - [Older high-level API](subprocess.xhtml#older-high-level-api) - [Replacing Older Functions with the `subprocess` Module](subprocess.xhtml#replacing-older-functions-with-the-subprocess-module) - [Replacing /bin/sh shell backquote](subprocess.xhtml#replacing-bin-sh-shell-backquote) - [Replacing shell pipeline](subprocess.xhtml#replacing-shell-pipeline) - [Replacing `os.system()`](subprocess.xhtml#replacing-os-system) - [Replacing the `os.spawn` family](subprocess.xhtml#replacing-the-os-spawn-family) - [Replacing `os.popen()`, `os.popen2()`, `os.popen3()`](subprocess.xhtml#replacing-os-popen-os-popen2-os-popen3) - [Replacing functions from the `popen2` module](subprocess.xhtml#replacing-functions-from-the-popen2-module) - [Legacy Shell Invocation Functions](subprocess.xhtml#legacy-shell-invocation-functions) - [注釋](subprocess.xhtml#notes) - [Converting an argument sequence to a string on Windows](subprocess.xhtml#converting-an-argument-sequence-to-a-string-on-windows) - [`sched` --- 事件調度器](sched.xhtml) - [調度器對象](sched.xhtml#scheduler-objects) - [`queue` --- 一個同步的隊列類](queue.xhtml) - [Queue對象](queue.xhtml#queue-objects) - [SimpleQueue 對象](queue.xhtml#simplequeue-objects) 以下是上述某些服務的支持模塊: - [`_thread` --- 底層多線程 API](_thread.xhtml) - [`_dummy_thread` --- `_thread` 的替代模塊](_dummy_thread.xhtml) - [`dummy_threading` --- 可直接替代 `threading` 模塊。](dummy_threading.xhtml) ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](threading.xhtml "threading --- 基于線程的并行") | - [上一頁](ctypes.xhtml "ctypes --- Python 的外部函數庫") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.xhtml) ? - $('.inline-search').show(0); | ? [版權所有](../copyright.xhtml) 2001-2019, Python Software Foundation. Python 軟件基金會是一個非盈利組織。 [請捐助。](https://www.python.org/psf/donations/) 最后更新于 5月 21, 2019. [發現了問題](../bugs.xhtml)? 使用[Sphinx](http://sphinx.pocoo.org/)1.8.4 創建。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看