LLDB mainline
|
#include <HostThreadPosix.h>
Public Member Functions | |
HostThreadPosix () | |
HostThreadPosix (lldb::thread_t thread) | |
~HostThreadPosix () override | |
Status | Join (lldb::thread_result_t *result) override |
Status | Cancel () override |
Status | Detach () |
Public Member Functions inherited from lldb_private::HostNativeThreadBase | |
HostNativeThreadBase ()=default | |
HostNativeThreadBase (lldb::thread_t thread) | |
virtual | ~HostNativeThreadBase ()=default |
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 |
Private Member Functions | |
HostThreadPosix (const HostThreadPosix &)=delete | |
const HostThreadPosix & | operator= (const HostThreadPosix &)=delete |
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 |
Definition at line 16 of file HostThreadPosix.h.
|
privatedelete |
|
default |
HostThreadPosix::HostThreadPosix | ( | lldb::thread_t | thread | ) |
Definition at line 20 of file HostThreadPosix.cpp.
|
overridedefault |
|
overridevirtual |
Implements lldb_private::HostNativeThreadBase.
Definition at line 40 of file HostThreadPosix.cpp.
References lldb::eErrorTypePOSIX, error(), lldb_private::HostNativeThreadBase::IsJoinable(), and lldb_private::HostNativeThreadBase::m_thread.
Status HostThreadPosix::Detach | ( | ) |
Definition at line 53 of file HostThreadPosix.cpp.
References lldb::eErrorTypePOSIX, error(), lldb_private::HostNativeThreadBase::IsJoinable(), lldb_private::HostNativeThreadBase::m_thread, and lldb_private::HostNativeThreadBase::Reset().
|
overridevirtual |
Implements lldb_private::HostNativeThreadBase.
Definition at line 25 of file HostThreadPosix.cpp.
References lldb::eErrorTypePOSIX, error(), lldb_private::HostNativeThreadBase::IsJoinable(), lldb_private::HostNativeThreadBase::m_thread, and lldb_private::HostNativeThreadBase::Reset().
|
privatedelete |