LLDB mainline
lldb_private::HostThreadWindows Class Reference

#include <HostThreadWindows.h>

Inheritance diagram for lldb_private::HostThreadWindows:
[legend]

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 & )
privatedelete

References HostThreadWindows().

Referenced by HostThreadWindows(), and operator=().

◆ HostThreadWindows() [2/3]

HostThreadWindows::HostThreadWindows ( )

◆ HostThreadWindows() [3/3]

HostThreadWindows::HostThreadWindows ( lldb::thread_t thread)

◆ ~HostThreadWindows()

HostThreadWindows::~HostThreadWindows ( )
virtual

Definition at line 29 of file HostThreadWindows.cpp.

References Reset().

Member Function Documentation

◆ Cancel()

Status HostThreadWindows::Cancel ( )
overridevirtual

◆ EqualsThread()

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

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()

◆ operator=()

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

References HostThreadWindows().

◆ Reset()

void HostThreadWindows::Reset ( )
overridevirtual

◆ 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
private

Definition at line 37 of file HostThreadWindows.h.

Referenced by HostThreadWindows(), HostThreadWindows(), Reset(), and SetOwnsHandle().


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