HomePhabricator

[NativeProcessLinux] Integrate MainLoop

Description

[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

Details

Committed
labathJul 15 2015, 10:20 AM
Differential Revision
D11150: [NativeProcessLinux] Integrate MainLoop
Branches
Unknown
Tags
Unknown