[Lldb-commits] [lldb] [lldb] Expose the Target API lock through the SB API (PR #131404)
Adrian Vogelsgesang via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 14 16:07:03 PDT 2025
================
@@ -946,6 +946,10 @@ class LLDB_API SBTarget {
/// An error if a Trace already exists or the trace couldn't be created.
lldb::SBTrace CreateTrace(SBError &error);
+#ifndef SWIG
+ lldb::SBLock GetAPILock() const;
----------------
vogelsgesang wrote:
`Get` sounds a bit too innocent. It sounds like a simple getter, but this is not a simple getter.
```suggestion
lldb::SBLock AcquireAPILock() const;
```
https://github.com/llvm/llvm-project/pull/131404
More information about the lldb-commits
mailing list