LLDB  mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::HostThreadWindows Class Reference

#include <HostThreadWindows.h>

Inheritance diagram for lldb_private::HostThreadWindows:
Inheritance graph
Collaboration diagram for lldb_private::HostThreadWindows:
Collaboration graph

Public Member Functions

 HostThreadWindows ()
 HostThreadWindows (lldb::thread_t thread)
virtual ~HostThreadWindows ()
void SetOwnsHandle (bool owns)
Status Join (lldb::thread_result_t *result) override
Status Cancel () override
void Reset () override
bool EqualsThread (lldb::thread_t thread) const override
lldb::tid_t GetThreadId () const
- Public Member Functions inherited from lldb_private::HostNativeThreadBase
 HostNativeThreadBase ()=default
 HostNativeThreadBase (lldb::thread_t thread)
virtual ~HostNativeThreadBase ()=default
virtual bool IsJoinable () const
lldb::thread_t Release ()
lldb::thread_t GetSystemHandle () const
lldb::thread_result_t GetResult () const

Private Member Functions

 HostThreadWindows (const HostThreadWindows &)=delete
const HostThreadWindowsoperator= (const HostThreadWindows &)=delete

Private Attributes

bool m_owns_handle

Additional Inherited Members

- Static Protected Member Functions inherited from lldb_private::HostNativeThreadBase
static lldb::thread_result_t THREAD_ROUTINE ThreadCreateTrampoline (lldb::thread_arg_t arg)
- Protected Attributes inherited from lldb_private::HostNativeThreadBase
lldb::thread_t m_thread = LLDB_INVALID_HOST_THREAD
lldb::thread_result_t m_result = 0

Detailed Description

Definition at line 18 of file HostThreadWindows.h.

Constructor & Destructor Documentation

◆ HostThreadWindows() [1/3]

lldb_private::HostThreadWindows::HostThreadWindows ( const HostThreadWindows )

◆ HostThreadWindows() [2/3]

HostThreadWindows::HostThreadWindows ( )

Definition at line 23 of file HostThreadWindows.cpp.

◆ HostThreadWindows() [3/3]

HostThreadWindows::HostThreadWindows ( lldb::thread_t  thread)

Definition at line 26 of file HostThreadWindows.cpp.

◆ ~HostThreadWindows()

HostThreadWindows::~HostThreadWindows ( )

Definition at line 29 of file HostThreadWindows.cpp.

References Reset().

Member Function Documentation

◆ Cancel()

Status HostThreadWindows::Cancel ( )

◆ EqualsThread()

bool HostThreadWindows::EqualsThread ( lldb::thread_t  thread) const

Reimplemented from lldb_private::HostNativeThreadBase.

Definition at line 70 of file HostThreadWindows.cpp.

References GetThreadId().

◆ GetThreadId()

lldb::tid_t HostThreadWindows::GetThreadId ( ) const

Definition at line 59 of file HostThreadWindows.cpp.

References lldb_private::HostNativeThreadBase::m_thread.

Referenced by EqualsThread().

◆ Join()

Status HostThreadWindows::Join ( lldb::thread_result_t result)

◆ operator=()

const HostThreadWindows& lldb_private::HostThreadWindows::operator= ( const HostThreadWindows )

◆ Reset()

void HostThreadWindows::Reset ( )

◆ SetOwnsHandle()

void HostThreadWindows::SetOwnsHandle ( bool  owns)

Definition at line 31 of file HostThreadWindows.cpp.

References m_owns_handle.

Member Data Documentation

◆ m_owns_handle

bool lldb_private::HostThreadWindows::m_owns_handle

Definition at line 37 of file HostThreadWindows.h.

Referenced by Reset(), and SetOwnsHandle().

The documentation for this class was generated from the following files: