llvm-project/lldb/source/Host
Jonas Devlieghere 8e776bb660
Re-land "[lldb] Synchronize output through the IOHandler"
Add synchronization to the IOHandler to prevent multiple threads from
writing concurrently to the output or error stream.

A scenario where this could happen is when a thread (the default event
thread for example) is using the debugger's asynchronous stream. We
would delegate this operation to the IOHandler which might be running on
another thread. Until this patch there was nothing to synchronize the
two at the IOHandler level.

Differential revision: https://reviews.llvm.org/D121500
2022-03-15 12:53:46 -07:00
..
android [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
common Re-land "[lldb] Synchronize output through the IOHandler" 2022-03-15 12:53:46 -07:00
freebsd Modernize and simplify HostInfo::GetOSKernelDescription 2021-10-26 11:17:02 +02:00
linux [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
macosx [lldb] Remove FileSystem::Initialize from VFS mapping 2022-03-03 11:02:11 -08:00
netbsd [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
openbsd Modernize and simplify HostInfo::GetOSKernelDescription 2021-10-26 11:17:02 +02:00
posix [lldb] Remove FileSystem::Initialize from FileCollector 2022-03-03 13:22:38 -08:00
windows [lldb] Fix the build after 8b3b66ea63 2022-03-03 13:57:33 -08:00
CMakeLists.txt [lldb] Move StringConvert inside debugserver 2021-09-27 14:32:42 +02:00