aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2024-02-27 12:43:05 -0600
committerGitHub <noreply@github.com>2024-02-27 12:43:05 -0600
commite427e934f677567f8184ff900cb4cbdb8cf21a21 (patch)
tree63e6957b6766ec7c1b42e7e078b3ac71319410ef /llvm/lib/Object/ArchiveWriter.cpp
parent563f414e049dc06dcb955f565fcff3c663982ee4 (diff)
downloadllvm-e427e934f677567f8184ff900cb4cbdb8cf21a21.zip
llvm-e427e934f677567f8184ff900cb4cbdb8cf21a21.tar.gz
llvm-e427e934f677567f8184ff900cb4cbdb8cf21a21.tar.bz2
[lldb][dap] Avoid concurrent `HandleCommand` calls (#83162)
The `EventThreadFunction` can end up calling `HandleCommand` concurrently with the main request processing thread. The underlying API does not appear to be thread safe, so add a narrowly scoped mutex lock to prevent calling it in this place from more than one thread. Fixes #81686. Prior to this, TestDAP_launch.py is 4% flaky. After, it passes in 1000 runs.
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions