thread state coordinator: add test to be explicit about resume behavior in presence of deferred stop notification still pending.

There is a state transition that seems potentially buggy that I am capturing and
logging here, and including an explicit test to demonstrate expected behavior.  See new test
for detailed description.  Added logging around this area since, if we hit it, we
may have a usage bug, or a new state transition we really need to investigate.

This is around this scenario:
Thread C deferred stop notification awaiting thread A and thread B to stop.
Thread A stops.
Thread A requests resume.
Thread B stops.

Here we will explicitly signal the deferred stop notification after thread B
stops even though thread A is now resumed.  Copious logging happens here.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218683 91177308-0d34-0410-b5e6-96231b3b80d8
Fixup some minor issues with HostProcess.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218684 91177308-0d34-0410-b5e6-96231b3b80d8
Fix FreeBSD build.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218685 91177308-0d34-0410-b5e6-96231b3b80d8
thread state coordinator: add additional assert missing from previous test check-in.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218686 91177308-0d34-0410-b5e6-96231b3b80d8
Add SBThreadPlan to this CMakeLists.txt as well.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218687 91177308-0d34-0410-b5e6-96231b3b80d8
Merge llvm.org r218687 into dev-llgs-local-launch