[all-commits] [llvm/llvm-project] 5d1695: [lldb] Properly protect the Communication class wi...

Augusto Noronha via All-commits all-commits at lists.llvm.org
Tue Aug 15 15:47:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d16957207ce1bd1a2091f3677e176012009c59a
      https://github.com/llvm/llvm-project/commit/5d16957207ce1bd1a2091f3677e176012009c59a
  Author: Augusto Noronha <augusto2112 at me.com>
  Date:   2023-08-15 (Tue, 15 Aug 2023)

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

  Log Message:
  -----------
  [lldb] Properly protect the Communication class with reader/writer lock

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.

Differential Revision: https://reviews.llvm.org/D157760




More information about the All-commits mailing list