llvm-project/lldb/source/Plugins/Process
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
..
FreeBSD Fix FreeBSD build. 2015-07-14 03:18:23 +00:00
Linux [NativeProcessLinux] Integrate MainLoop 2015-07-21 13:20:32 +00:00
MacOSX-Kernel Move ProcessKDP's StringExtractor include. 2015-07-07 23:59:01 +00:00
POSIX Remove old local-only linux debugging code 2015-06-24 14:43:20 +00:00
Utility [Makefiles] One more library rename to align with CMake 2015-07-15 22:39:44 +00:00
Windows Move WindowsDYLD to the Plugins/DynamicLoader directory. 2015-07-08 18:07:13 +00:00
elf-core Refactor Unix signals. 2015-07-14 01:09:28 +00:00
gdb-remote [NativeProcessLinux] Integrate MainLoop 2015-07-21 13:20:32 +00:00
mach-core Don't force a vendor check in ProcessMachCore::CanDebug() -- if this 2015-04-29 22:17:45 +00:00
CMakeLists.txt Create a HostThread abstraction. 2014-09-09 20:54:56 +00:00