summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2021-06-17 18:31:42 -0700
committer Yifan Hong <elsk@google.com> 2021-06-21 15:16:30 -0700
commit891989f8e98c890394fab72f17b77ba3b0474782 (patch)
tree538bee9bff2b692c61e49f0505adcf2ef4c0a5c3 /libs/gui/QueueBufferInputOutput.cpp
parent936fc19aa0ca565dc0903c577658676ad76575b7 (diff)
lshal: PipeRelay: use modern classes.
- Use android::base helpers - Use std::thread instead of utils/Thread - Use poll() instead of select() - Use a separate fd trigger instead of an atomic_bool so that poll() finishes sooner. - Also removes useless READ_TIMEOUT and error message for select() timeout and ~PipeRelay. Test: lshal_test Test: manually run lshal debug repeatedly to see if it is stuck or output is not complete Bug: 182306776 Change-Id: Ie623bf1b979654a30b360819c9a787c88fd8d91d
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions