diff options
author | Eugene Susla <eugenesusla@google.com> | 2019-07-17 15:12:08 -0700 |
---|---|---|
committer | Eugene Susla <eugenesusla@google.com> | 2019-07-17 17:28:41 -0700 |
commit | 05bc95949b0329d9afce3da06ab0274ea23b2f61 (patch) | |
tree | 8f102f539ebb7b637287ab5c026deb6cd64ec91e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 59dc6124c842503d57d279b1f0139ae1302675f2 (diff) |
Access ServiceConnector.mService in a thread-safe manner
binderDied() doesn't seem to have a defined thread on which it's called,
yet we want to abort queue processing asap on receiving it, so we have to
maintain state, modifiable from different threads.
The attached bug suggests modifying mService from a different thread is already
the case, so this just cleans up its usages to behave correctly in
parallel access scenario.
Fixed: 137744044
Test: presubmit
Change-Id: I9a09a69b5c1a1cd448a925bd7f8b2c6fa24357aa
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions