qt_wasm_pthread_pool_size
内部の WebAssembly スレッドプールのサイズ。
このプロパティは Qt 6.2.4 で導入されました。
注意: このプロパティはテクノロジープレビューであり、将来のリリースで変更される可能性があります。
注意: このプロパティは、WebAssembly プラットフォームをターゲットにしている場合にのみ使用されます。
アプリケーション起動時に作成する Web ワーカー(スレッド)の数を指定します。Qt はデフォルトで 4 のプールサイズを割り当てます。これは、メインスレッドが新しいウェブワーカーを作成し、最初にイベントループに制御を戻さずにスレッドを join() した場合にデッドロックが発生する可能性がある、新しいウェブワーカーを作成する追加のオーバーヘッドなしに、アプリがメインスレッド以外に 4 つの追加のスレッドを使用できることを意味します。EmscriptenコンパイラのPTHREAD_POOL_SIZE設定に変換されます。
詳細はPthreads support を参照してください。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.