diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2019-10-31 09:33:40 +0100 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-01-12 21:38:21 +0100 |
commit | 3d1e257770e8c79c7cd9a08f9caf1bd8395cb10c (patch) | |
tree | 32d1ca00efd7c06367abe3d4b29108e7dda6ddff /src/plugins/platforms/wasm/qwasmeventtranslator.cpp | |
parent | 2f536411d8d6918a8fed53198190d60fe188b0a4 (diff) |
Wasm: Support event loop wakeup from secondary threads
Minimal fix for the missing wakeup issue, in leu of
a new event loop implementation.
So far, emscripten_async_run_in_main_runtime_thread_
looks to be our option for scheduling calls on the
main thread. This function is available on emsdk 1.38.22
and higher.
Requires making from QEventDispatcherUNIX::wakeUp()
non-final. The future event dispatcher implementation
will not inherit QEventDispatcherUNIX, so this is a
temporary change.
Fixes: QTBUG-75793
Task-number: QTBUG-76007
Change-Id: Ie6f6ee6f7674206fc0673a4fe866ac614432ab65
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmeventtranslator.cpp')
0 files changed, 0 insertions, 0 deletions