commit | 43680450c24532bec04c6be54e9efe4cea703d5c | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue May 17 19:23:39 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Fri Jul 15 17:17:14 2016 -0700 |
tree | 5a9c10c73ba63c75d3bd8584396f29d6e0c42b1e | |
parent | 3f52cf2b30c68d372532bd1720f41672533e14ec [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)