|
LLDB mainline
|
Public Types | |
| enum class | LockResult { Success , Cancelled , Failed } |
Public Member Functions | |
| ContinueLock (GDBRemoteClientBase &comm) | |
| ~ContinueLock () | |
| operator bool () | |
| LockResult | lock () |
| void | unlock () |
Private Attributes | |
| GDBRemoteClientBase & | m_comm |
| bool | m_acquired |
Definition at line 161 of file GDBRemoteClientBase.h.
| Enumerator | |
|---|---|
| Success | |
| Cancelled | |
| Failed | |
Definition at line 163 of file GDBRemoteClientBase.h.
|
explicit |
Definition at line 307 of file GDBRemoteClientBase.cpp.
References lldb_private::process_gdb_remote::GDBRemoteClientBase::GDBRemoteClientBase(), lock(), m_acquired, and m_comm.
| GDBRemoteClientBase::ContinueLock::~ContinueLock | ( | ) |
Definition at line 312 of file GDBRemoteClientBase.cpp.
References m_acquired, and unlock().
| GDBRemoteClientBase::ContinueLock::LockResult GDBRemoteClientBase::ContinueLock::lock | ( | ) |
Definition at line 328 of file GDBRemoteClientBase.cpp.
References Cancelled, Failed, lldb_private::GetLog(), LLDB_LOGF, lldbassert, lock(), m_acquired, m_comm, lldb_private::process_gdb_remote::Process, Success, and lldb_private::process_gdb_remote::GDBRemoteCommunication::Success.
Referenced by ContinueLock(), lock(), lldb_private::process_gdb_remote::GDBRemoteClientBase::SendContinuePacketAndWaitForResponse(), and unlock().
|
inlineexplicit |
Definition at line 167 of file GDBRemoteClientBase.h.
References m_acquired.
| void GDBRemoteClientBase::ContinueLock::unlock | ( | ) |
Definition at line 317 of file GDBRemoteClientBase.cpp.
References lldbassert, lock(), m_acquired, and m_comm.
Referenced by lldb_private::process_gdb_remote::GDBRemoteClientBase::SendContinuePacketAndWaitForResponse(), and ~ContinueLock().
|
private |
Definition at line 175 of file GDBRemoteClientBase.h.
Referenced by ContinueLock(), lock(), operator bool(), unlock(), and ~ContinueLock().
|
private |
Definition at line 174 of file GDBRemoteClientBase.h.
Referenced by ContinueLock(), lock(), and unlock().