diff options
author | Ruchir Rastogi <ruchirr@google.com> | 2020-05-15 12:57:15 -0700 |
---|---|---|
committer | Ruchir Rastogi <ruchirr@google.com> | 2020-05-27 08:47:50 -0700 |
commit | 835e75c636e1edf9f9354f82e5b68f36a87a309a (patch) | |
tree | 6a290f009413cf27327c48dd92b0bf6f447b4dd3 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | eafbb325ebb43df443b100c3221dfecc754be3e1 (diff) |
Combine startPull and sendHeartbeat threads
This ensures that only one helper thread is created per subscription.
Previously, there could be up to two.
+ fixes thread sleep duration if the pulled atoms have different pull
frequencies
+ rename attemptWriteToSocketLocked to attemptWriteToPipeLocked
Test: atest statsd_test
Test: atest CtsStatsdHostTestCases:ShellSubscriberTest
Test: manual testing on Android Studio
Bug: 156678125
Change-Id: I7074bbba5981a591a30e8b70a1ad1d83eadfcc30
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions