commit | 0396df8de1c77efc1deea5d75133765743d6fa3c | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue May 17 19:23:39 2016 -0700 |
committer | gitbuildkicker <android-build@google.com> | Thu Jul 21 17:17:02 2016 -0700 |
tree | ff450f108ac390e46930979d79b930a233818bbf | |
parent | 1af7d105137b539762b0299ca7d8d1a668852ae8 [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)