Descriptionozone: evdev: Add dedicated events thread
This creates a new thread for polling evdev on, and moves the
InputDeviceFactoryEvdev object onto that thread. We'll use this new
thread to avoid UI-thread jank affecting the cursor.
BUG=449710
TEST=boot link_freon & move cursor with simulated UI jank.
cursor moves while UI thread is stalled.
Committed: https://crrev.com/be9342d2b87b41a865fa9672577b98d1ef8e2816
Cr-Commit-Position: refs/heads/master@{#313981}
Patch Set 1 #Patch Set 2 : updates for events_unittests #
Total comments: 2
Patch Set 3 : add Stop() to ~EvdevThread #
Total comments: 2
Patch Set 4 : rebase & add more threading comments #Patch Set 5 : rebase #
Messages
Total messages: 13 (3 generated)
|