[Lldb-commits] [lldb] [debugserver] Fix mutex scope in RNBRemote::CommDataReceived (PR #131077)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 13 10:57:37 PDT 2025
================
@@ -1054,7 +1054,7 @@ rnb_err_t RNBRemote::HandleReceivedPacket(PacketEnum *type) {
void RNBRemote::CommDataReceived(const std::string &new_data) {
// DNBLogThreadedIf (LOG_RNB_REMOTE, "%8d RNBRemote::%s called",
// (uint32_t)m_comm.Timer().ElapsedMicroSeconds(true), __FUNCTION__);
- {
+
// Put the packet data into the buffer in a thread safe fashion
PThreadMutex::Locker locker(m_mutex);
----------------
JDevlieghere wrote:
Yes, I don't know why clang-format isn't kicking in...
https://github.com/llvm/llvm-project/pull/131077
More information about the lldb-commits
mailing list