[Lldb-commits] [lldb] [lldb] Synchronize Debugger's stdout and stderr at the StreamFile level (PR #126630)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 11 02:32:52 PST 2025


================
@@ -3108,13 +3108,11 @@ void CommandInterpreter::PrintCommandOutput(IOHandler &io_handler,
     llvm::StringRef line;
     std::tie(line, str) = str.split('\n');
     {
-      std::lock_guard<std::recursive_mutex> guard(io_handler.GetOutputMutex());
----------------
labath wrote:

This is an example of an operation that used to be atomic, but now isn't.

https://github.com/llvm/llvm-project/pull/126630


More information about the lldb-commits mailing list