LLDB  mainline
Public Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
lldb_private::HostNativeThreadBase Class Referenceabstract

#include <HostNativeThreadBase.h>

Inheritance diagram for lldb_private::HostNativeThreadBase:
Inheritance graph
Collaboration diagram for lldb_private::HostNativeThreadBase:
Collaboration graph

Public Member Functions

 HostNativeThreadBase ()
 HostNativeThreadBase (lldb::thread_t thread)
virtual ~HostNativeThreadBase ()
virtual Status Join (lldb::thread_result_t *result)=0
virtual Status Cancel ()=0
virtual bool IsJoinable () const
virtual void Reset ()
virtual bool EqualsThread (lldb::thread_t thread) const
lldb::thread_t Release ()
lldb::thread_t GetSystemHandle () const
lldb::thread_result_t GetResult () const

Static Protected Member Functions

static lldb::thread_result_t THREAD_ROUTINE ThreadCreateTrampoline (lldb::thread_arg_t arg)

Protected Attributes

lldb::thread_t m_thread
lldb::thread_result_t m_result

Private Member Functions

 HostNativeThreadBase (const HostNativeThreadBase &)=delete
const HostNativeThreadBaseoperator= (const HostNativeThreadBase &)=delete


class ThreadLauncher

Detailed Description

Definition at line 24 of file HostNativeThreadBase.h.

Constructor & Destructor Documentation

◆ HostNativeThreadBase() [1/3]

lldb_private::HostNativeThreadBase::HostNativeThreadBase ( const HostNativeThreadBase )

◆ HostNativeThreadBase() [2/3]

HostNativeThreadBase::HostNativeThreadBase ( )

Definition at line 20 of file HostNativeThreadBase.cpp.

◆ HostNativeThreadBase() [3/3]

HostNativeThreadBase::HostNativeThreadBase ( lldb::thread_t  thread)

Definition at line 23 of file HostNativeThreadBase.cpp.

◆ ~HostNativeThreadBase()

virtual lldb_private::HostNativeThreadBase::~HostNativeThreadBase ( )

Member Function Documentation

◆ Cancel()

virtual Status lldb_private::HostNativeThreadBase::Cancel ( )
pure virtual

◆ EqualsThread()

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

Reimplemented in lldb_private::HostThreadWindows.

Definition at line 43 of file HostNativeThreadBase.cpp.

References m_thread.

Referenced by ~HostNativeThreadBase().

◆ GetResult()

lldb::thread_result_t HostNativeThreadBase::GetResult ( ) const

Definition at line 30 of file HostNativeThreadBase.cpp.

References m_result.

Referenced by ~HostNativeThreadBase().

◆ GetSystemHandle()

lldb::thread_t HostNativeThreadBase::GetSystemHandle ( ) const

◆ IsJoinable()

bool HostNativeThreadBase::IsJoinable ( ) const

◆ Join()

virtual Status lldb_private::HostNativeThreadBase::Join ( lldb::thread_result_t result)
pure virtual

◆ operator=()

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

◆ Release()

lldb::thread_t HostNativeThreadBase::Release ( )

Definition at line 47 of file HostNativeThreadBase.cpp.

References LLDB_INVALID_HOST_THREAD, m_result, and m_thread.

Referenced by ~HostNativeThreadBase().

◆ Reset()

void HostNativeThreadBase::Reset ( )

◆ ThreadCreateTrampoline()

lldb::thread_result_t HostNativeThreadBase::ThreadCreateTrampoline ( lldb::thread_arg_t  arg)

Friends And Related Function Documentation

◆ ThreadLauncher

friend class ThreadLauncher

Definition at line 25 of file HostNativeThreadBase.h.

Member Data Documentation

◆ m_result

lldb::thread_result_t lldb_private::HostNativeThreadBase::m_result

Definition at line 49 of file HostNativeThreadBase.h.

Referenced by GetResult(), Release(), and Reset().

◆ m_thread

lldb::thread_t lldb_private::HostNativeThreadBase::m_thread

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