services/inputflinger/SyncQueue.h
0 → 100644
+53
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Changes to BlockingQueue: - Change BlockingQueue to be list-backed instead of vector-backed so that removals are O(1) instead of O(N). - Rename erase to erase_if. - Make providing a fixed capacity at construction optional. - Add emplace function to push and construct element in-place. - Add popWithTimeout function. Bug: 275726706 Test: atest inputflinger_tests Change-Id: I1be02b0887df2c21b28f4f1cb43a8e208d996a87