diff options
| author | Josh Gao <jmgao@google.com> | 2016-05-17 17:46:27 -0700 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2016-05-18 17:20:30 -0700 |
| commit | 268068f25673242d1d5130d96202d3288c91b700 (patch) | |
| tree | bac45a68cf3359f57e90bb075118385aa7b2a490 /libutils/Unicode_test.cpp | |
| parent | 63760409ad833cf803482e098367f49741b5f6d3 (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
(cherry picked from commit 9b587dec6d0a57c8fe1083c1c543fbeb163d65fa)
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions
