commit | 014b1592fd10ef5733a943325cf20cb6c1cdf187 | [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:35:58 2016 -0700 |
tree | b5cb187e122f468693d679ed0b1ec50c4ca62520 | |
parent | 3c28cda5d0120eb7bf7a49b36b96f45c0a588232 [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)