[Lldb-commits] [PATCH] D157760: [lldb] Properly protect the Communication class with reader/writer lock

Augusto Noronha via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 11 14:57:00 PDT 2023


augusto2112 created this revision.
augusto2112 added reviewers: JDevlieghere, bulbazord.
Herald added a project: All.
augusto2112 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

This patch picks up where https://reviews.llvm.org/D157159 left of, but
allows for concurrent reads/writes, but protects setting up and tearing
down the underlying Connection object.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157760

Files:
  lldb/include/lldb/Core/Communication.h
  lldb/include/lldb/Core/ThreadedCommunication.h
  lldb/source/Core/Communication.cpp
  lldb/source/Core/ThreadedCommunication.cpp
  lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157760.549530.patch
Type: text/x-patch
Size: 15407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230811/b20803bf/attachment.bin>


More information about the lldb-commits mailing list