diff options
author | Josh Gao <jmgao@google.com> | 2016-05-17 19:23:39 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-07-15 17:17:14 -0700 |
commit | 6f641adea5f1a92a63902643a1046c4d879ae03d (patch) | |
tree | 5a9c10c73ba63c75d3bd8584396f29d6e0c42b1e /libutils/ProcessCallStack.cpp | |
parent | 72bad95df5dc6603b0f99c4a089bc2f6684eda6d (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)
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions