Add code to exit the NativeProcessLinux Monitor thread on android
authorTamas Berghammer <tberghammer@google.com>
Fri, 13 Mar 2015 11:16:03 +0000 (11:16 +0000)
committerTamas Berghammer <tberghammer@google.com>
Fri, 13 Mar 2015 11:16:03 +0000 (11:16 +0000)
commit0cbf0b13e74a1334cd318517789f4c692faf524a
tree084407a98d8486979887ba6fcf4cc48d00f1c661
parent21212e4198a19e700cfd526d7fb14a58a351e5ed
Add code to exit the NativeProcessLinux Monitor thread on android

This CL change the logic used to terminate the monitor thread of
NativeProcessLinux to use a signal instead of pthread_cancel as
pthread_cancel is not supported on android.

Differential revision: http://reviews.llvm.org/D8205

llvm-svn: 232155
lldb/source/Host/common/Host.cpp
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp