[all-commits] [llvm/llvm-project] d75dc9: [lldb] Fix ThreadList::Update not locking the rhs'...
Augusto Noronha via All-commits
all-commits at lists.llvm.org
Fri Aug 4 16:12:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d75dc9a8a86c4f69408dcab3a21416729d14652e
https://github.com/llvm/llvm-project/commit/d75dc9a8a86c4f69408dcab3a21416729d14652e
Author: Augusto Noronha <augusto2112 at me.com>
Date: 2023-08-04 (Fri, 04 Aug 2023)
Changed paths:
M lldb/source/Target/ThreadList.cpp
Log Message:
-----------
[lldb] Fix ThreadList::Update not locking the rhs's mutex
ThreadList::Update is being caught by thread sanitizer. There's even a
comment on the function that both mutexes should be lock (even though
only the "this" mutex was actually being locked). Fix this by locking
both mutexes.
Differential Revision: https://reviews.llvm.org/D157153
More information about the All-commits
mailing list