commit | 64c427ac6e2feafb292278a39940bfcd9ead56f2 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue May 17 17:46:27 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed May 18 14:21:53 2016 -0700 |
tree | 06823af4cd1136469cf96765dfa136f9d7e86b53 | |
parent | 0fc2947df1bca15bb5056e15c13237193b50d92d [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