Allow Process::WaitForProcessToStop to return immediately if process is already in...
authorDaniel Malea <daniel.malea@gmail.com>
Wed, 9 Oct 2013 16:56:28 +0000 (16:56 +0000)
committerDaniel Malea <daniel.malea@gmail.com>
Wed, 9 Oct 2013 16:56:28 +0000 (16:56 +0000)
commit9e9919f0431cc2ddc297813bdb772c776d14281c
tree9fc64172e8c060981cd91d805054733d2f4fdd3c
parenta25c79e7045fa1d92e9777a3dce8902a7963eb4c
Allow Process::WaitForProcessToStop to return immediately if process is already in the stopped state
- By default, the above function will wait for at least one event
- Set wait_always=false to make the function return immediately if the process is already stopped

llvm-svn: 192301
lldb/include/lldb/Target/Process.h
lldb/source/Commands/CommandObjectProcess.cpp
lldb/source/Target/Process.cpp