diff options
author | Morten Sørvig <[email protected]> | 2025-07-16 11:52:49 +0200 |
---|---|---|
committer | Morten Sørvig <[email protected]> | 2025-08-25 19:32:01 +0200 |
commit | 66e3fe3f9557c151321e9412ad5a1a32e270e917 (patch) | |
tree | f4227cffdc1e855bc23db8438e186ad4f1a41c47 /src/widgets/doc/snippets/sharedtablemodel | |
parent | e26e907a472fbfaff7712406fbf55c84933f1e9a (diff) |
Bring the wasm event dispatcher implementation closer to
spec, as determined by tst_qeventloop. This can be done
when asyncify/jspi is enabled, if we don't have that
the behavior remains more approximate.
Make QEventDispatcherWasm::processEvents() return exactly
if it processed an event or not:
- count the number of native events.
- account for the internal suspend timer
- assume that a posted event was sent if there was a
wakeUp() call.
Send timer events in processEvents() only, if asyncify/jspi
is enabled.
Change processEvents() WaitForMoreEvents logic to:
1) process events
2) if there was no events then wait
3) process events before returning
This way we only wait if there was no events (in line
with documentation), and we process events after waking
up.
Pick-to: 6.10
Change-Id: I5891b9a72d5d938b695cae9d2bfe4dcac9f62523
Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'src/widgets/doc/snippets/sharedtablemodel')
0 files changed, 0 insertions, 0 deletions