LLDB mainline
|
#include <HostThreadWindows.h>
Public Member Functions | |
HostThreadWindows () | |
HostThreadWindows (lldb::thread_t thread) | |
virtual | ~HostThreadWindows () |
void | SetOwnsHandle (bool owns) |
Status | Join (lldb::thread_result_t *result) override |
Status | Cancel () override |
void | Reset () override |
bool | EqualsThread (lldb::thread_t thread) const override |
lldb::tid_t | GetThreadId () const |
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 | |
HostThreadWindows (const HostThreadWindows &)=delete | |
const HostThreadWindows & | operator= (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_INVALID_HOST_THREAD |
lldb::thread_result_t | m_result = 0 |
Definition at line 18 of file HostThreadWindows.h.
|
privatedelete |
HostThreadWindows::HostThreadWindows | ( | ) |
Definition at line 23 of file HostThreadWindows.cpp.
HostThreadWindows::HostThreadWindows | ( | lldb::thread_t | thread | ) |
Definition at line 26 of file HostThreadWindows.cpp.
|
virtual |
Definition at line 29 of file HostThreadWindows.cpp.
References Reset().
|
overridevirtual |
Implements lldb_private::HostNativeThreadBase.
Definition at line 51 of file HostThreadWindows.cpp.
References lldb::eErrorTypeWin32, error(), ExitThreadProxy(), and lldb_private::HostNativeThreadBase::m_thread.
|
overridevirtual |
Reimplemented from lldb_private::HostNativeThreadBase.
Definition at line 70 of file HostThreadWindows.cpp.
References GetThreadId().
lldb::tid_t HostThreadWindows::GetThreadId | ( | ) | const |
Definition at line 59 of file HostThreadWindows.cpp.
References lldb_private::HostNativeThreadBase::m_thread.
Referenced by EqualsThread().
|
overridevirtual |
Implements lldb_private::HostNativeThreadBase.
Definition at line 33 of file HostThreadWindows.cpp.
References lldb::eErrorTypeWin32, error(), lldb_private::HostNativeThreadBase::IsJoinable(), lldb_private::HostNativeThreadBase::m_thread, and Reset().
|
privatedelete |
|
overridevirtual |
Reimplemented from lldb_private::HostNativeThreadBase.
Definition at line 63 of file HostThreadWindows.cpp.
References LLDB_INVALID_HOST_THREAD, m_owns_handle, lldb_private::HostNativeThreadBase::m_thread, and lldb_private::HostNativeThreadBase::Reset().
Referenced by Join(), and ~HostThreadWindows().
void HostThreadWindows::SetOwnsHandle | ( | bool | owns | ) |
Definition at line 31 of file HostThreadWindows.cpp.
References m_owns_handle.
|
private |
Definition at line 37 of file HostThreadWindows.h.
Referenced by Reset(), and SetOwnsHandle().