diff options
| author | 2024-06-25 21:58:26 +0000 | |
|---|---|---|
| committer | 2024-07-15 23:13:50 +0000 | |
| commit | f5df97188715aacf354f682f3c53d46820ffe36e (patch) | |
| tree | d787d8ba632cf7696d20fb083c9dc87f11f7977a /libs/gui/DisplayLuts.cpp | |
| parent | 29bd5a22450fb2d1c24fd3dba97f2f498d1e8c8d (diff) | |
Fix race condition in extension string creation
Change a17429660467548a1bc5f8d435a327500fbe972b introduced a race condition where the notfiy_all is called before the mExtensionString is set.
Set mExtensionString before refCond.notify_all(); is called
Bug: 345419965
Bug: 346881664
Test: Ran EGL unit tests
(cherry picked from https://android-review.googlesource.com/q/commit:5e94634dc57024dcae2d1484758c2a9a7a55d55e)
Merged-In: Ifcb691f9b9769be494e204c97512c3f7fffec60a
Change-Id: Ifcb691f9b9769be494e204c97512c3f7fffec60a
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions