summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-08-17 13:50:51 -0700
committerJosh Gao <jmgao@google.com>2017-08-17 13:50:51 -0700
commit1db71afe97c0c73167bc5d1fffea574b65bfa32c (patch)
tree72ded581b070a7ff7362c481aa63f9c75b3c6015 /debuggerd/handler/debuggerd_handler.cpp
parente3e4ec7c97e7f4beafd5c6d6186018c93a9b6e5d (diff)
adb: fix deadlock in kick_all_transports.
Previously, kick_all_transports would deadlock if there were any inaccessible transports, because the transport kick function would call unregister_usb_transport, which attempts to take the already-held transport lock. Fix this by switching the transport lock over to a recursive mutex. Test: manual Change-Id: If61296ff4745e1699f3e216811c1383582627604
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions