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

#include <HostThread.h>

Public Member Functions

 HostThread ()
 
 HostThread (lldb::thread_t thread)
 
Status Join (lldb::thread_result_t *result)
 
Status Cancel ()
 
void Reset ()
 
lldb::thread_t Release ()
 
bool IsJoinable () const
 
HostNativeThreadGetNativeThread ()
 
const HostNativeThreadGetNativeThread () const
 
lldb::thread_result_t GetResult () const
 
bool EqualsThread (lldb::thread_t thread) const
 

Private Attributes

std::shared_ptr< HostNativeThreadBasem_native_thread
 

Detailed Description

Definition at line 29 of file HostThread.h.

Constructor & Destructor Documentation

◆ HostThread() [1/2]

HostThread::HostThread ( )

Definition at line 15 of file HostThread.cpp.

◆ HostThread() [2/2]

HostThread::HostThread ( lldb::thread_t  thread)

Definition at line 17 of file HostThread.cpp.

Member Function Documentation

◆ Cancel()

Status HostThread::Cancel ( )

Definition at line 24 of file HostThread.cpp.

References m_native_thread.

◆ EqualsThread()

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

◆ GetNativeThread() [1/2]

HostNativeThread & HostThread::GetNativeThread ( )

◆ GetNativeThread() [2/2]

const HostNativeThread & HostThread::GetNativeThread ( ) const

Definition at line 36 of file HostThread.cpp.

◆ GetResult()

lldb::thread_result_t HostThread::GetResult ( ) const

Definition at line 40 of file HostThread.cpp.

References m_native_thread.

◆ IsJoinable()

bool HostThread::IsJoinable ( ) const

◆ Join()

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

◆ Release()

lldb::thread_t HostThread::Release ( )

Definition at line 28 of file HostThread.cpp.

References m_native_thread.

◆ Reset()

void HostThread::Reset ( )

Member Data Documentation

◆ m_native_thread

std::shared_ptr<HostNativeThreadBase> lldb_private::HostThread::m_native_thread
private

Definition at line 47 of file HostThread.h.

Referenced by Cancel(), EqualsThread(), GetResult(), IsJoinable(), Join(), Release(), and Reset().


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