aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Debugify.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-04-22 16:51:56 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2020-04-22 16:56:42 -0700
commitb424b0bf731d1fb338180553a86f912746f640ad (patch)
tree40150ee014b4e3e25e68774cc0de6e3ed7d20295 /llvm/lib/Transforms/Utils/Debugify.cpp
parent478619cf9a24ad8eac806959ca6a289a9beb71ae (diff)
downloadllvm-b424b0bf731d1fb338180553a86f912746f640ad.zip
llvm-b424b0bf731d1fb338180553a86f912746f640ad.tar.gz
llvm-b424b0bf731d1fb338180553a86f912746f640ad.tar.bz2
[lldb/Target] Avoid race between Communication::Disconnect calls.
Avoid a race between the Disconnect call in `Communication::ReadThread` and the one in `Process::ShouldBroadcastEvent` by reordering the calls to Disconnect and StopReadThread in `Process::ShouldBroadcastEvent`. In D77295 Pavel suggested that that might explain the broken pipe I was seeing. Indeed, changing the order resolved the issue.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions