commit | 326afd184ded78d9979258505e62bacdb93eaac2 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed May 19 15:24:54 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu May 20 15:26:46 2021 -0700 |
tree | bae2397263ed7ed794b1a1262e31c985cacc827a | |
parent | bb2cca75efdf69152fc417b75f19a0d3c072f126 [diff] |
Add RpcServer::start() start() starts a thread that runs join() in the background. Because the thread can now be owned by RpcServer, shutdown() ensures the thread is properly cleaned up. Test: binderRpcTest Bug: 182914638 Change-Id: I570d3d852e9eb4f6064dce934a2fdb3bc8f210f7