commit | 11440395e379f35069e8e39a6e3ccfa7a7bfc72f | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue May 17 19:23:39 2016 -0700 |
committer | gitbuildkicker <android-build@google.com> | Tue Aug 16 15:52:46 2016 -0700 |
tree | 881f5726ca9e9eb73c37f84e9aac52a4f0b01b31 | |
parent | f2059d3fd959ce6f0d8a106ad4483c733aab3f66 [diff] |
adb: switch the socket list mutex to a recursive_mutex. sockets.cpp was branching on whether a socket close function was local_socket_close in order to avoid a potential deadlock if the socket list lock was held while closing a peer socket. Bug: http://b/28347842 Change-Id: I5e56f17fa54275284787f0f1dc150d1960256ab3 (functionally a cherrypick of 903b749f + 9b587dec, with windows disabled)