LLDB mainline
|
#include <GDBRemoteClientBase.h>
Public Member Functions | |
Lock (GDBRemoteClientBase &comm, std::chrono::seconds interrupt_timeout=std::chrono::seconds(0)) | |
~Lock () | |
operator bool () | |
bool | DidInterrupt () const |
Private Member Functions | |
void | SyncWithContinueThread () |
Private Attributes | |
std::unique_lock< std::recursive_mutex > | m_async_lock |
GDBRemoteClientBase & | m_comm |
std::chrono::seconds | m_interrupt_timeout |
bool | m_acquired |
bool | m_did_interrupt |
Definition at line 71 of file GDBRemoteClientBase.h.
GDBRemoteClientBase::Lock::Lock | ( | GDBRemoteClientBase & | comm, |
std::chrono::seconds | interrupt_timeout = std::chrono::seconds(0) |
||
) |
Definition at line 355 of file GDBRemoteClientBase.cpp.
References m_acquired, m_async_lock, and SyncWithContinueThread().
GDBRemoteClientBase::Lock::~Lock | ( | ) |
Definition at line 396 of file GDBRemoteClientBase.cpp.
|
inline |
Definition at line 87 of file GDBRemoteClientBase.h.
References m_did_interrupt.
Referenced by lldb_private::process_gdb_remote::GDBRemoteClientBase::Interrupt(), and lldb_private::process_gdb_remote::GDBRemoteClientBase::SendAsyncSignal().
|
inlineexplicit |
Definition at line 83 of file GDBRemoteClientBase.h.
References m_acquired.
|
private |
Definition at line 365 of file GDBRemoteClientBase.cpp.
References lldb::eConnectionStatusSuccess, lldb_private::GetLog(), LLDB_LOGF, lldb_private::process_gdb_remote::Packets, lldb_private::process_gdb_remote::Process, and lldb_private::Log::PutCString().
Referenced by Lock().
|
private |
Definition at line 93 of file GDBRemoteClientBase.h.
Referenced by Lock(), and operator bool().
|
private |
Definition at line 90 of file GDBRemoteClientBase.h.
Referenced by Lock().
|
private |
Definition at line 91 of file GDBRemoteClientBase.h.
|
private |
Definition at line 94 of file GDBRemoteClientBase.h.
Referenced by DidInterrupt().
|
private |
Definition at line 92 of file GDBRemoteClientBase.h.