diff options
| author | 2023-05-18 01:57:10 +0000 | |
|---|---|---|
| committer | 2023-05-24 19:37:14 +0000 | |
| commit | d5678111f98219a89405a13872090b225208c8bf (patch) | |
| tree | d63a5b297665544091d1e2aed304ae053358ebcd /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | aff1303d192685b83c9d57dc82c9fec1e6f0aa02 (diff) | |
Improve BlockingQueue and add SyncQueue
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
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions