wasm: Fix problem with dice demo deadlocking waiting for thread startup
PsUnixThread.cpp:ThreadImpl has logic that waits for the started threads
as it turns out, for wasm we can reverse the wait, and avoid a possible
deadlock.
Fixes: QTBUG-123888
Pick-to: 6.7 6.6 6.5
Change-Id: I142baf5e47afea2822ff146e27b697cb845ac3bd
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
| commit | 1a57c386602548a22ce014ec909ae4db5ea36451 |
| parent | 913a84160dc19725a8f68e9440f1359d63ece31a |
| author | Even Oscar Andersen <even.oscar.andersen@qt.io> |
| committer | Even Oscar Andersen <even.oscar.andersen@qt.io> |
| commit time | Tue, 16 Apr 2024 13:14:10 +0000 |