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
[legend]
Collaboration diagram for lldb_private::HostThreadWindows:
Collaboration graph
[legend]

Public Member Functions

 HostThreadWindows ()
 
 HostThreadWindows (lldb::thread_t thread)
 
virtual ~HostThreadWindows ()
 
void SetOwnsHandle (bool owns)
 
virtual Status Join (lldb::thread_result_t *result)
 
virtual Status Cancel ()
 
virtual void Reset ()
 
virtual bool EqualsThread (lldb::thread_t thread) const
 
lldb::tid_t GetThreadId () const
 
- Public Member Functions inherited from lldb_private::HostNativeThreadBase
 HostNativeThreadBase ()
 
 HostNativeThreadBase (lldb::thread_t thread)
 
virtual ~HostNativeThreadBase ()
 
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::thread_result_t m_result
 

Detailed Description

Definition at line 18 of file HostThreadWindows.h.

Constructor & Destructor Documentation

◆ HostThreadWindows() [1/3]

lldb_private::HostThreadWindows::HostThreadWindows ( const HostThreadWindows )
privatedelete

◆ HostThreadWindows() [2/3]

HostThreadWindows::HostThreadWindows ( )

Definition at line 25 of file HostThreadWindows.cpp.

◆ HostThreadWindows() [3/3]

HostThreadWindows::HostThreadWindows ( lldb::thread_t  thread)

Definition at line 28 of file HostThreadWindows.cpp.

◆ ~HostThreadWindows()

HostThreadWindows::~HostThreadWindows ( )
virtual

Definition at line 31 of file HostThreadWindows.cpp.

References Reset().

Member Function Documentation

◆ Cancel()

Status HostThreadWindows::Cancel ( )
virtual

◆ EqualsThread()

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

Reimplemented from lldb_private::HostNativeThreadBase.

Definition at line 72 of file HostThreadWindows.cpp.

References GetThreadId().

◆ GetThreadId()

lldb::tid_t HostThreadWindows::GetThreadId ( ) const

Definition at line 61 of file HostThreadWindows.cpp.

References lldb_private::HostNativeThreadBase::m_thread.

Referenced by EqualsThread().

◆ Join()

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

◆ operator=()

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

◆ Reset()

void HostThreadWindows::Reset ( )
virtual

◆ SetOwnsHandle()

void HostThreadWindows::SetOwnsHandle ( bool  owns)

Definition at line 33 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 Reset(), and SetOwnsHandle().


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