Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for thread_pool (0.05 sec)

  1. docs/en/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | `async` Technical Details
    
    When you use the `async` methods, **FastAPI** runs the file methods in a threadpool and awaits for them.
    
    ///
    
    /// note | Starlette Technical Details
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Detalhes Técnicos do `async`
    
    Quando você usa os métodos `async`, o **FastAPI** executa os métodos de arquivo em um threadpool e aguarda por eles.
    
    ///
    
    /// note | Detalhes Técnicos do Starlette
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Detalles Técnicos de `async`
    
    Cuando usas los métodos `async`, **FastAPI** ejecuta los métodos del archivo en un threadpool y los espera.
    
    ///
    
    /// note | Detalles Técnicos de Starlette
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Technische Details zu `async`
    
    Wenn Sie die `async`-Methoden verwenden, führt **FastAPI** die Datei-Methoden in einem <abbr title="Mehrere unabhängige Kindprozesse">Threadpool</abbr> aus und erwartet sie.
    
    ///
    
    /// note | Technische Details zu Starlette
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        // Fesen Client
        //
    
        /**
         * Gets the thread pool used by the client.
         *
         * @return the thread pool
         */
        @Override
        public ThreadPool threadPool() {
            return client.threadPool();
        }
    
        /**
         * Gets the admin client for cluster and index administration.
         *
         * @return the admin client
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  6. .bazelrc

    common:mkl_threadpool --define=build_with_mkl=true --define=enable_mkl=true
    common:mkl_threadpool --define=tensorflow_mkldnn_contraction_kernel=0
    common:mkl_threadpool --define=build_with_mkl_opensource=true
    common:mkl_threadpool -c opt
    
    # Config setting to build oneDNN with Compute Library for the Arm Architecture (ACL).
    # with Eigen threadpool support
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Fri Dec 26 23:20:26 UTC 2025
    - 56.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     *
     * {@snippet :
     * ListenableFuture<Boolean> adminIsLoggedIn =
     *     FluentFuture.from(usersDatabase.getAdminUser())
     *         .transform(User::getId, directExecutor())
     *         .transform(ActivityService::isLoggedIn, threadPool)
     *         .catching(RpcException.class, e -> false, directExecutor());
     * }
     *
     * <h3>Alternatives</h3>
     *
     * <h4>Frameworks</h4>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/BUILD

        "@zlib//:__subpackages__",
        "@dlpack//:__subpackages__",
        "@arm_neon_2_x86_sse//:__subpackages__",
        "@cpuinfo//:__subpackages__",
        "@ruy//:__subpackages__",
        "@XNNPACK//:__subpackages__",
        "@pthreadpool//:__subpackages__",
        "@FXdiv//:__subpackages__",
        "@FP16//:__subpackages__",
        "@clog//:__subpackages__",
        "@flatbuffers//:__subpackages__",
        "@nccl_archive//:__subpackages__",
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Nov 12 19:21:56 UTC 2025
    - 53.1K bytes
    - Viewed (0)
  9. docs/zh-hant/docs/async.md

    你大概可以跳過這段。
    
    這裡是有關 FastAPI 內部技術細節。
    
    如果你有相當多的技術背景(例如協程、執行緒、阻塞等),並且對 FastAPI 如何處理 `async def` 與常規 `def` 感到好奇,請繼續閱讀。
    
    ///
    
    ### 路徑操作函数
    
    當你使用 `def` 而不是 `async def` 宣告*路徑操作函式*時,該函式會在外部的執行緒池(threadpool)中執行,然後等待結果,而不是直接呼叫(因為這樣會阻塞伺服器)。
    
    如果你來自於其他不以這種方式運作的非同步框架,而且你習慣於使用普通的 `def` 定義僅進行簡單計算的*路徑操作函式*,目的是獲得微小的性能增益(大約 100 奈秒),請注意,在 FastAPI 中,效果會完全相反。在這些情況下,最好使用 `async def`除非你的*路徑操作函式*執行阻塞的 <abbr title="輸入/輸出:磁碟讀寫或網路通訊">I/O</abbr> 的程式碼。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  10. RELEASE.md

        * Add optional `use_unbounded_threadpool` argument to `map`, to specify that the `map` should use an unbounded threadpool instead of the default pool that is based on the number of cores on the machine. This can improve throughput for map functions which perform IO or otherwise release the CPU.
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
Back to top