commit | d21f70ddc715a6c3d0fd88a787efd09dc572d86f | [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 | 3e0dd7e9aeb68487af227add351d3c40f8cb907b | |
parent | 7a8b934ab5e87bb46f816e851a1bf1180928bb6a [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 b4a778ec + 0f1a20a4, with windows disabled)