Patch that allows for thread_t to be something more complex than an
integer. Modified patch from Kirk Beitz.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125067 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Host/common/Host.cpp b/source/Host/common/Host.cpp
index 9c4b61f..b017461 100644
--- a/source/Host/common/Host.cpp
+++ b/source/Host/common/Host.cpp
@@ -74,7 +74,7 @@
                                info_ap.get(),
                                NULL);
                                
-        if (thread != LLDB_INVALID_HOST_THREAD)
+        if (IS_VALID_LLDB_HOST_THREAD(thread))
             info_ap.release();
     }
     return thread;