diff options
| author | 2024-08-05 14:10:40 -0700 | |
|---|---|---|
| committer | 2024-08-05 14:15:47 -0700 | |
| commit | 908b09ce78edc6a3403d152f9f350077a3007dae (patch) | |
| tree | d5088daa6ca19a3561f752c2ac306df10fd1def1 /libs/gui/BLASTBufferQueue.cpp | |
| parent | 7bbb484092a7e40fc38df0acd6e9df3856216238 (diff) | |
fix race in ProcessState::getThreadPoolMaxTotalThreadCount
The race was introduced in https://r.android.com/3107366. Triggering the
race requires calling `getThreadPoolMaxTotalThreadCount` concurrently
with `startThreadPool`, which is a bad practice, but, we shouldn't
crash.
Bug: 355739944
Test: ran https://r.android.com/3207755 test for hours
Change-Id: Iee9a99a213474f5b1a398e703b2af585ece6828f
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions