commit | 09c81efd010d1c9ac8821bad00cdfc9747fcae79 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Tue Feb 08 01:34:25 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Tue Feb 08 01:34:25 2011 +0000 |
tree | eb4897b5d15900a7687e393f47642875d04e883f | |
parent | 14ef59fe5728d862c040cf5a6b99c384229a34ee [diff] [blame] |
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;