hanchenye-llvm-project/lldb
Pavel Labath 19cbe96a45 [NativeProcessLinux] Integrate MainLoop
Summary:
This commit integrates MainLoop into NativeProcessLinux. By registering a SIGCHLD handler with
the llgs main loop, we can get rid of the special monitor thread in NPL, which saves as a lot of
thread ping-pong when responding to client requests (e.g. qThreadInfo processing time has been
reduced by about 40%). It also makes the code simpler, IMHO.

Reviewers: ovyalov, clayborg, tberghammer, chaoren

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D11150

This is a resubmission of r242305 after it was reverted due to bad interactions with the stdio
thread.

llvm-svn: 242783
2015-07-21 13:20:32 +00:00
..
cmake Fix whitespace in Android.cmake. 2015-07-20 21:46:23 +00:00
docs Add jThreadsInfo support to lldb-server 2015-07-16 14:14:35 +00:00
examples Fix the yellow colorizing and fix some logic in the "A" packet dumper. 2015-07-20 21:22:18 +00:00
include [NativeProcessLinux] Integrate MainLoop 2015-07-21 13:20:32 +00:00
lib [Makefiles] One more library rename to align with CMake 2015-07-15 22:39:44 +00:00
lit Create a check-lldb-unit target to run unit tests. 2015-03-13 20:55:07 +00:00
lldb.xcodeproj Build ValueObjectConstResultCast.cpp. 2015-07-16 03:38:17 +00:00
lldb.xcworkspace Working on getting the OSX build green 2015-05-12 02:20:27 +00:00
resources Bump major vers # in xcode project file from 330 to 340. 2015-03-06 00:45:01 +00:00
scripts Refactor Unix signals. 2015-07-14 01:09:28 +00:00
source [NativeProcessLinux] Integrate MainLoop 2015-07-21 13:20:32 +00:00
test Enable timeout on Windows 2015-07-20 20:04:22 +00:00
tools [lldb-mi] Correct file names in first line comments. 2015-07-21 13:09:39 +00:00
unittests Fix StringExtractor.h issues. 2015-07-07 15:19:03 +00:00
utils
www Add support for displaying the language in the frame-format string. 2015-06-23 18:35:31 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.clang-format Update build instructions / coding conventions. 2015-03-10 23:22:25 +00:00
.gitignore Fix .gitignore to ignore symlinks. 2015-03-31 00:03:00 +00:00
CMakeLists.txt Standalone cmake build improvements (bug #23889) 2015-07-17 15:50:48 +00:00
CODE_OWNERS.txt Convert CRLF to LF in CODE_OWNERS.txt 2015-03-23 14:00:54 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
Makefile Remove the -Wno-unused-function option. We are clean 2014-09-09 07:49:15 +00:00