summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceComposer.cpp
diff options
context:
space:
mode:
author Ram Mohan <ram.mohan@ittiam.com> 2023-05-09 17:25:49 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-05-09 17:25:49 +0000
commitd39fb0823880f508419da4b75aaee74e5abadd34 (patch)
tree7880bcff2a84f5c9e39d86bcb75cb6349329c06f /libs/gui/ISurfaceComposer.cpp
parentbd65cc20d9de72531643c48c243d6ba18c837baa (diff)
ultrahdr: signal all threads that no further jobs will be queued
After queuing all jobs, the master thread quietly leaves without intimating the worker threads about the same. If worker threads are waiting for more jobs, they will be waiting forever or until a spurious wake occurs. Instead of waiting for spurious wake, signal all workers that no more jobs will be queued Bug: 279984162 Test: CTS: ImageReaderTest#testSRGBJpeg (cherry picked from https://partner-android-review.googlesource.com/q/commit:db2a72623137e59cae7d9a74b0ba4ebc3f7ee36a) Merged-In: Ic0e06b8ee355b08f0cd1031488cbf0ead8021fa2 Change-Id: Ic0e06b8ee355b08f0cd1031488cbf0ead8021fa2
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
0 files changed, 0 insertions, 0 deletions