IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QT_WASM_PTHREAD_POOL_SIZE

Internal WebAssembly thread pool size.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QT_WASM_PTHREAD_POOL_SIZE

Internal WebAssembly thread pool size.

This property was introduced in Qt 6.2.4.

This property is in technology preview and may change in future releases.

This property is used only if targeting the WebAssembly platform.

Specifies the number of web workers (threads) to create at application startup. Qt allocates a pool size of 4 by default. This means the app can use 4 additional threads besides the main thread, without the additional overhead of creating a new web worker, which may deadlock if the main thread created it and join()s the thread without returning control to the event loop first. Translates into the Emscripten compiler setting of PTHREAD_POOL_SIZE.

For more information, see Pthreads support.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+