summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRuchir Rastogi <ruchirr@google.com>2020-06-01 10:43:31 -0700
committerRuchir Rastogi <ruchirr@google.com>2020-06-08 15:47:05 -0700
commitbba70a6065ebf7d8f5ce35f697afc3e72a53f094 (patch)
tree35132696342cc57a63bcf443abfc485615ea294a /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentca62fc416218a8993d3e374d6f11839d6e0a2a01 (diff)
Make pullers in StatsPullAtomService thread-safe
If statsd times out on a puller before it finishes and then calls another puller, it is possible for pullers to execute concurrently, necessitating proper synchronization. We guard each puller (or a group of pullers that share member variables) with a lock to fix the synchronizatino issue. This is overly pessimistic, but ensures correctness. Test: m Test: atest CtsStatsdHostTestCases Bug: 157906917 Change-Id: Ib050b967f0a5ee6936d3a0a384670d5efb331b72
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions