summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2020-03-31 00:53:41 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2020-04-05 22:20:55 +0200
commitf9137c8c6ec9174a9b92234bc8b49ee2445798b9 (patch)
tree6df1a54d433bc633edfbd3638c3efdb36cb27cd8 /util
parent1c23d34ad4bdd67dec6d501d91087823dc9ea358 (diff)
Wasm: don’t deadlock on parallel image conversions
A special restriction of threads on WebAssembly is that you should not block the main thread, also not to wait for worker threads. For example, blocking the main thread may prevent the browser from starting a new web worker to service the pthread the main thread is waiting for. We may be able create an abstraction to support use cases like this (most likely using emscripten asyncify), but for disable use of threads to avoid deadlocking. Change-Id: I35edd5e1bb465e2549fa7cc4288b47dcd2e4244b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions