LLDB mainline
|
#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 |
HostNativeThread & | GetNativeThread () |
const HostNativeThread & | GetNativeThread () const |
lldb::thread_result_t | GetResult () const |
bool | EqualsThread (lldb::thread_t thread) const |
Private Attributes | |
std::shared_ptr< HostNativeThreadBase > | m_native_thread |
Definition at line 29 of file HostThread.h.
HostThread::HostThread | ( | ) |
Definition at line 15 of file HostThread.cpp.
HostThread::HostThread | ( | lldb::thread_t | thread | ) |
Definition at line 17 of file HostThread.cpp.
Status HostThread::Cancel | ( | ) |
Definition at line 24 of file HostThread.cpp.
References m_native_thread.
bool HostThread::EqualsThread | ( | lldb::thread_t | thread | ) | const |
Definition at line 44 of file HostThread.cpp.
References m_native_thread.
Referenced by lldb_private::Process::CurrentThreadIsPrivateStateThread(), lldb_private::Process::GetRunLock(), lldb_private::Debugger::IsIOHandlerThreadCurrentThread(), and lldb_private::Process::RunThreadPlan().
HostNativeThread & HostThread::GetNativeThread | ( | ) |
Definition at line 32 of file HostThread.cpp.
Referenced by lldb_private::RegisterContextWindows::ApplyAllRegisterValues(), lldb_private::RegisterContextWindows::CacheAllRegisterValues(), lldb_private::TargetThreadWindows::DoResume(), lldb_private::NativeThreadWindows::DoResume(), lldb_private::NativeThreadWindows::DoStop(), lldb_private::TargetThreadWindows::GetName(), lldb_private::NativeRegisterContextWindows::GetThreadHandle(), lldb_private::DebuggerThread::HandleCreateProcessEvent(), lldb_private::DebuggerThread::HandleCreateThreadEvent(), lldb_private::ProcessWindows::OnCreateThread(), lldb_private::ProcessWindows::OnDebuggerConnected(), and lldb_private::TargetThreadWindows::RefreshStateAfterStop().
const HostNativeThread & HostThread::GetNativeThread | ( | ) | const |
Definition at line 36 of file HostThread.cpp.
lldb::thread_result_t HostThread::GetResult | ( | ) | const |
Definition at line 40 of file HostThread.cpp.
References m_native_thread.
bool HostThread::IsJoinable | ( | ) | const |
Definition at line 30 of file HostThread.cpp.
References m_native_thread.
Referenced by lldb_private::Alarm::AlarmThreadRunning(), lldb_private::Process::ControlPrivateStateThread(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoResume(), ProcessKDP::DoResume(), lldb_private::Debugger::HasIOHandlerThread(), lldb_private::Debugger::IsHandlingEvents(), lldb_private::process_gdb_remote::GDBRemoteCommunication::JoinListenThread(), lldb_private::ThreadedCommunication::JoinReadThread(), lldb_private::Process::PrivateStateThreadIsValid(), lldb_private::Process::RunThreadPlan(), lldb_private::Alarm::StartAlarmThread(), lldb_private::process_gdb_remote::ProcessGDBRemote::StartAsyncThread(), ProcessKDP::StartAsyncThread(), lldb_private::Debugger::StartEventHandlerThread(), lldb_private::Debugger::StartIOHandlerThread(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartListenThread(), lldb_private::ThreadedCommunication::StartReadThread(), lldb_private::Alarm::StopAlarmThread(), lldb_private::process_gdb_remote::ProcessGDBRemote::StopAsyncThread(), ProcessKDP::StopAsyncThread(), lldb_private::Debugger::StopEventHandlerThread(), lldb_private::Debugger::StopIOHandlerThread(), lldb_private::Process::StopPrivateStateThread(), and lldb_private::ThreadedCommunication::StopReadThread().
Status HostThread::Join | ( | lldb::thread_result_t * | result | ) |
Definition at line 20 of file HostThread.cpp.
References m_native_thread.
Referenced by lldb_private::Process::ControlPrivateStateThread(), lldb_private::Debugger::JoinIOHandlerThread(), lldb_private::process_gdb_remote::GDBRemoteCommunication::JoinListenThread(), lldb_private::ThreadedCommunication::JoinReadThread(), lldb_private::Alarm::StopAlarmThread(), lldb_private::process_gdb_remote::ProcessGDBRemote::StopAsyncThread(), ProcessKDP::StopAsyncThread(), lldb_private::Debugger::StopEventHandlerThread(), lldb_private::Debugger::StopIOHandlerThread(), and lldb_private::ThreadedCommunication::StopReadThread().
lldb::thread_t HostThread::Release | ( | ) |
Definition at line 28 of file HostThread.cpp.
References m_native_thread.
void HostThread::Reset | ( | ) |
Definition at line 26 of file HostThread.cpp.
References m_native_thread.
Referenced by ProcessKDP::AsyncThread(), lldb_private::Process::ControlPrivateStateThread(), and lldb_private::process_gdb_remote::ProcessGDBRemote::StopAsyncThread().
|
private |
Definition at line 47 of file HostThread.h.
Referenced by Cancel(), EqualsThread(), GetResult(), IsJoinable(), Join(), Release(), and Reset().