QT_WASM_PTHREAD_POOL_SIZE

내부 WebAssembly 스레드 풀 크기.

이 속성은 Qt 6.2.4에서 도입되었습니다.

참고: 이 속성은 기술 미리보기 단계에 있으며 향후 릴리스에서 변경될 수 있습니다.

참고: 이 속성은 WebAssembly 플랫폼을 대상으로 하는 경우에만 사용됩니다.

애플리케이션 시작 시 생성할 웹 워커(스레드)의 수를 지정합니다. Qt는 기본적으로 4개의 풀 크기를 할당합니다. 즉, 앱은 메인 스레드 외에 4개의 추가 스레드를 사용할 수 있으며, 새로운 웹 워커를 생성할 때 발생하는 추가 오버헤드가 없습니다. 메인 스레드가 웹 워커를 생성한 후, 먼저 이벤트 루프로 제어권을 반환하지 않고 join()을 호출할 경우 데드락이 발생할 수 있습니다. 이는 Emscripten 컴파일러의 PTHREAD_POOL_SIZE 설정으로 변환됩니다.

자세한 내용은 Pthreads 지원을 참조하십시오.

© 2026 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.