Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d39fb082 authored by Ram Mohan's avatar Ram Mohan Committed by Cherrypicker Worker
Browse files

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
parent bd65cc20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment