LLDB  mainline
Public Member Functions | Static Protected Member Functions | Protected Attributes | 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


class ThreadLauncher

Detailed Description

Definition at line 24 of file HostNativeThreadBase.h.

Constructor & Destructor Documentation

◆ HostNativeThreadBase() [1/2]

HostNativeThreadBase::HostNativeThreadBase ( )

Definition at line 20 of file HostNativeThreadBase.cpp.

References m_result, and m_thread.

◆ HostNativeThreadBase() [2/2]

lldb_private::HostNativeThreadBase::HostNativeThreadBase ( lldb::thread_t  thread)

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

◆ 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 48 of file HostNativeThreadBase.h.

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

◆ m_thread

lldb::thread_t lldb_private::HostNativeThreadBase::m_thread

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