summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorTej Singh <singhtejinder@google.com>2020-01-13 17:56:58 -0800
committerTej Singh <singhtejinder@google.com>2020-01-15 21:15:26 +0000
commit518d77d208f97e7f0834969fa53a1b49d4eb87fb (patch)
treeb36fea35ad9357e7571fcc565df47ada1e5a3dfa /debuggerd/handler/debuggerd_handler.cpp
parentdab324f6e037b02086149cddcad398976e3a0777 (diff)
Register pullers in separate thread
This cl modifies getStatsService to use the blocking getService, but also makes the binder call in a separate thread to not block the client thread. This is needed because it is possible for pullers to be registered before statsd starts, and calling checkService before statsd is up will fail. We also would never receive the binderDied to register it, because we would never have a binder object to linkToDeath on. Bug: 147682855 Test: atest LibStatsPullTests Change-Id: I68c04bc24c7fe066eca88cab4f6a76885581c1ee
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions