Make it possible to stop the operation thread in NativeProcessLinux
authorTamas Berghammer <tberghammer@google.com>
Mon, 2 Mar 2015 11:04:03 +0000 (11:04 +0000)
committerTamas Berghammer <tberghammer@google.com>
Mon, 2 Mar 2015 11:04:03 +0000 (11:04 +0000)
commit6806fded8cf6cb9e323eacde28fc5bd91d92415a
tree1a0431945f8ff3d1642be8fcbbd084ca448a631e
parentf1115fe0c5f367b55119b129a4b0c219ae8d3c31
Make it possible to stop the operation thread in NativeProcessLinux

Previously the operation thread is stopped with a cancel event but
pthread_cancel is not supported on android. This CL creates a custom
operation which asks the operation thread to exit without any pthread
call.

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

llvm-svn: 230945
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp