[Lldb-commits] [PATCH] D11296: [LLGS] Get rid of the stdio forwarding thread

Pavel Labath labath at google.com
Fri Jul 17 07:18:49 PDT 2015


labath created this revision.
labath added reviewers: ovyalov, tberghammer.
labath added a subscriber: lldb-commits.

This commit removes the stdio forwarding thread in lldb-server in favor of a MainLoop callback.
As in some situations we need to forcibly flush the stream ( => Read() is called from multiple
places) and we still have multiple threads, I have had to additionally protect the communication
instance with a mutex.

http://reviews.llvm.org/D11296

Files:
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11296.30001.patch
Type: text/x-patch
Size: 10802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150717/59f63b30/attachment.bin>


More information about the lldb-commits mailing list