14#include "llvm/ADT/STLExtras.h"
20 ::ExitThread(dwExitCode);
36 DWORD wait_result = ::WaitForSingleObject(
m_thread, INFINITE);
37 if (WAIT_OBJECT_0 == wait_result && result) {
39 if (!::GetExitCodeThread(
m_thread, &exit_code))
42 }
else if (WAIT_OBJECT_0 != wait_result)
static llvm::raw_ostream & error(Stream &strm)
static void __stdcall ExitThreadProxy(ULONG_PTR dwExitCode)
virtual bool IsJoinable() const
lldb::tid_t GetThreadId() const
Status Join(lldb::thread_result_t *result) override
virtual ~HostThreadWindows()
bool EqualsThread(lldb::thread_t thread) const override
void SetOwnsHandle(bool owns)
#define LLDB_INVALID_HOST_THREAD
A class that represents a running process on the host machine.
@ eErrorTypeWin32
Standard Win32 error codes.