File indexing completed on 2026-05-10 08:42:48
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef lldb_Host_windows_HostThreadWindows_h_
0010 #define lldb_Host_windows_HostThreadWindows_h_
0011
0012 #include "lldb/Host/HostNativeThreadBase.h"
0013
0014 #include "llvm/ADT/SmallString.h"
0015
0016 namespace lldb_private {
0017
0018 class HostThreadWindows : public HostNativeThreadBase {
0019 HostThreadWindows(const HostThreadWindows &) = delete;
0020 const HostThreadWindows &operator=(const HostThreadWindows &) = delete;
0021
0022 public:
0023 HostThreadWindows();
0024 HostThreadWindows(lldb::thread_t thread);
0025 virtual ~HostThreadWindows();
0026
0027 void SetOwnsHandle(bool owns);
0028
0029 Status Join(lldb::thread_result_t *result) override;
0030 Status Cancel() override;
0031 void Reset() override;
0032 bool EqualsThread(lldb::thread_t thread) const override;
0033
0034 lldb::tid_t GetThreadId() const;
0035
0036 private:
0037 bool m_owns_handle;
0038 };
0039 }
0040
0041 #endif