1 //===-- HostThreadWindows.h -------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef lldb_Host_windows_HostThreadWindows_h_
11 #define lldb_Host_windows_HostThreadWindows_h_
13 #include "lldb/Host/HostNativeThreadBase.h"
15 #include "llvm/ADT/SmallString.h"
17 namespace lldb_private {
19 class HostThreadWindows : public HostNativeThreadBase {
20 DISALLOW_COPY_AND_ASSIGN(HostThreadWindows);
24 HostThreadWindows(lldb::thread_t thread);
25 virtual ~HostThreadWindows();
27 void SetOwnsHandle(bool owns);
29 virtual Error Join(lldb::thread_result_t *result);
30 virtual Error Cancel();
33 lldb::tid_t GetThreadId() const;