[Wayland-bugs] [Bug 90573] Handle timeouts before events after that timeout
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu May 21 21:45:42 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90573
Bug ID: 90573
Summary: Handle timeouts before events after that timeout
Product: Wayland
Version: unspecified
Hardware: Other
OS: All
Status: ASSIGNED
Severity: normal
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: peter.hutterer at who-t.net
If a timeout hits and events come in, it depends on whichever fd is read first
on what order the events are handled. If the device is handled first, the
events may be processed as if the timeout never happened.
This is particularly noticable in the test, if we call litest_timeout_..()
without a subsequent litest_dispatch(), the timeout is usually ignored.
We need a mechanism to compare event timestamps to timer triggers and yield if
the other one is earlier. This goes both ways, if litest_dispatch() didn't get
called for a while we need to process any events with times before the timeout
triggered.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150522/060e7b55/attachment-0001.html>
More information about the wayland-bugs
mailing list