OSDN Git Service

Only spawn one binder thread for cmd.
authorMartijn Coenen <maco@google.com>
Thu, 11 May 2017 16:45:59 +0000 (09:45 -0700)
committerMartijn Coenen <maco@google.com>
Thu, 11 May 2017 17:28:42 +0000 (10:28 -0700)
commitc21bc9afe403f52c189d2d6b79dedaf9dce6217b
treeabcead9115f1a1a9cfd0001544d88348537fe89e
parent4c8cc1c86a5ca613173b22e135cedb1c2b2e77c3
Only spawn one binder thread for cmd.

To work around race conditions in libbinder when
spawning new threads while being shut down.

Bug: 36066697
Test: cmd still works
Change-Id: I71c8d1aac29a1bf65d54023a4ed39d943ad54c98
cmds/cmd/cmd.cpp