summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2024-10-08 15:39:33 -0700
committer Siarhei Vishniakou <svv@google.com> 2024-10-11 19:13:39 +0000
commitccd7147281c5a180dbdb0b5b65b8d1bbe4b7373b (patch)
tree38d14b4bb079f691f8ba3de49f2f0f71371f92b3 /services/surfaceflinger/RegionSamplingThread.cpp
parent6f47f5f7a355386a2a238e45a400cf198002b0d8 (diff)
Use std::queue in InputConsumer_test
It's currently using BlockingQueue, which is designed to be used when more than one thread is involved. Since these tests are single-threaded, we should use a regular structure. That way, things like calling ".pop" on an empty container won't block indefinitely (which I accidentally did when developing some tests in that file). Bug: 297226446 Flag: EXEMPT refactor Test: TEST=libinput_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST Change-Id: I5bceff32605431eb0571d5f9fafbb61427f78275
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions