QT_WASM_PTHREAD_POOL_SIZE

내부 웹어셈블리 스레드 풀 크기.

이 프로퍼티는 Qt 6.2.4에 도입되었습니다.

참고: 이 프로퍼티는 기술 프리뷰에 있으며 향후 릴리스에서 변경될 수 있습니다.

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

애플리케이션 시작 시 생성할 웹 워커(스레드)의 수를 지정합니다. Qt는 기본적으로 풀 크기를 4로 할당합니다. 즉, 앱은 메인 스레드 외에 4개의 추가 스레드를 사용할 수 있으며, 이는 메인 스레드가 새 웹 워커를 생성하고 이벤트 루프에 제어권을 먼저 반환하지 않고 스레드를 조인()할 경우 교착 상태가 될 수 있는 추가 오버헤드 없이도 새로운 웹 워커를 생성하지 않고도 앱이 메인 스레드 외에 4개의 추가 스레드를 사용할 수 있음을 의미합니다. 엠스크립트 컴파일러 설정인 PTHREAD_POOL_SIZE로 변환합니다.

자세한 내용은 Pthreads 지원을 참조하세요.

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