augusto2112 marked 2 inline comments as done.
augusto2112 added inline comments.
================
Comment at: lldb/source/Interpreter/OptionValue.cpp:49
+ std::lock_guard<std::recursive_mutex> lock(m_mutex);
if (GetType() == OptionValue::eTypeBoolean)
return static_cast<OptionValueBoolean *>(this);
----------------
kastiglione wrote:
> do these GetAsX functions need to lock?
Hmm, I think we can get away with just locking GetXValue and SetXValue, and
replace the lock with a non recursive one.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157041/new/
https://reviews.llvm.org/D157041
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits