diff options
| author | 2020-02-18 18:33:38 -0800 | |
|---|---|---|
| committer | 2020-02-26 01:25:30 +0000 | |
| commit | e52a3b607d8b6be8c550a0e0de0e48f630514e5d (patch) | |
| tree | 5dfe31d9b01b53629ceff913a6e022523701a005 /opengl/libagl/matrix.cpp | |
| parent | f2a15e8742cf33e37e6c96f4731c298c6749bb68 (diff) | |
Disallow shrinking threadpool size once started.
If a larger threadpool is started, and concurrent binder transactions
are cause these threads to actually be started, and then we shrink
the threadpool, these extra threads won't be shut down. So, when we
detect that this race may happen, we abort with an error.
It's best practice to setup a threadpool at process startup time.
Bug: 147699567
Test: TH
Change-Id: I12d2e6e6b1ebf92c2b2abbfccffb011c4248d8ec
Diffstat (limited to 'opengl/libagl/matrix.cpp')
0 files changed, 0 insertions, 0 deletions