Convert most of the Process class to Timeout<>
authorPavel Labath <labath@google.com>
Wed, 30 Nov 2016 11:56:32 +0000 (11:56 +0000)
committerPavel Labath <labath@google.com>
Wed, 30 Nov 2016 11:56:32 +0000 (11:56 +0000)
commite3e21cfc0c98fe1089555e0b7b32b8978b789323
treef0d998440810408aa5f52d297aacd4f5672b4ee0
parentb099d16516f571721b470940ab602db26a35f28d
Convert most of the Process class to Timeout<>

This changes most of the class to use the new Timeout class. The one function
left is RunThreadPlan, which I left for a separate change as the function is
massive. A couple of things to call out:
- I've renamed the affected functions to match the listener interface names. This
  should also help catch any places I did not convert at compile time.
- I've deleted the WaitForState function as it was unused.

llvm-svn: 288241
lldb/include/lldb/Target/Process.h
lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
lldb/source/Target/Process.cpp
lldb/source/Target/Target.cpp