LLDB  mainline
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lldb_private::ProcessRunLock::ProcessRunLocker Class Reference

#include <ProcessRunLock.h>

Collaboration diagram for lldb_private::ProcessRunLock::ProcessRunLocker:
Collaboration graph
[legend]

Public Member Functions

 ProcessRunLocker ()
 
 ~ProcessRunLocker ()
 
bool TryLock (ProcessRunLock *lock)
 

Protected Member Functions

void Unlock ()
 

Protected Attributes

ProcessRunLockm_lock
 

Detailed Description

Definition at line 36 of file ProcessRunLock.h.

Constructor & Destructor Documentation

◆ ProcessRunLocker()

lldb_private::ProcessRunLock::ProcessRunLocker::ProcessRunLocker ( )
inline

Definition at line 38 of file ProcessRunLock.h.

◆ ~ProcessRunLocker()

lldb_private::ProcessRunLock::ProcessRunLocker::~ProcessRunLocker ( )
inline

Definition at line 40 of file ProcessRunLock.h.

References Unlock().

Member Function Documentation

◆ TryLock()

bool lldb_private::ProcessRunLock::ProcessRunLocker::TryLock ( ProcessRunLock lock)
inline

Definition at line 43 of file ProcessRunLock.h.

References m_lock, lldb_private::ProcessRunLock::ReadTryLock(), and Unlock().

Referenced by lldb::SBFrame::Disassemble(), lldb::SBFrame::EvaluateExpression(), lldb_private::QueueImpl::FetchItems(), lldb_private::QueueImpl::FetchThreads(), lldb::SBFrame::FindRegister(), lldb::SBFrame::FindValue(), lldb::SBFrame::FindVariable(), lldb::SBFrame::GetBlock(), lldb::SBFrame::GetCompileUnit(), lldb::SBFrame::GetDescription(), lldb::SBFrame::GetDisplayFunctionName(), lldb::SBQueueItem::GetExtendedBacktraceThread(), lldb::SBThread::GetExtendedBacktraceThread(), lldb::SBFrame::GetFP(), lldb::SBThread::GetFrameAtIndex(), lldb::SBFrame::GetFrameBlock(), lldb::SBFrame::GetFunction(), lldb::SBFrame::GetFunctionName(), lldb::SBThread::GetInfoItemByPathAsString(), lldb::SBFrame::GetLineEntry(), lldb::SBProcess::GetMemoryRegionInfo(), lldb::SBProcess::GetMemoryRegions(), lldb::SBFrame::GetModule(), lldb::SBThread::GetName(), lldb::SBThread::GetNumFrames(), lldb::SBProcess::GetNumQueues(), lldb::SBProcess::GetNumThreads(), lldb::SBFrame::GetPC(), lldb::SBFrame::GetPCAddress(), lldb::SBThread::GetQueue(), lldb::SBProcess::GetQueueAtIndex(), lldb::SBThread::GetQueueID(), lldb::SBThread::GetQueueName(), lldb::SBFrame::GetRegisters(), lldb::SBThread::GetSelectedFrame(), lldb::SBFrame::GetSP(), ValueImpl::GetSP(), lldb::SBThread::GetStopDescription(), lldb::SBThread::GetStopReason(), lldb::SBThread::GetStopReasonDataAtIndex(), lldb::SBThread::GetStopReasonDataCount(), lldb::SBThread::GetStopReturnValue(), lldb::SBFrame::GetSymbol(), lldb::SBFrame::GetSymbolContext(), lldb::SBProcess::GetThreadAtIndex(), lldb::SBProcess::GetThreadByID(), lldb::SBProcess::GetThreadByIndexID(), lldb::SBFrame::GetValueForVariablePath(), lldb::SBFrame::GetVariables(), lldb::SBFrame::GuessLanguage(), lldb::SBFrame::IsInlined(), lldb::SBProcess::LoadImage(), lldb::SBProcess::LoadImageUsingPaths(), lldb::SBFrame::operator bool(), lldb::SBThread::operator bool(), lldb::SBProcess::ReadCStringFromMemory(), lldb::SBProcess::ReadMemory(), lldb::SBProcess::ReadPointerFromMemory(), lldb::SBProcess::ReadUnsignedFromMemory(), lldb::SBThread::Resume(), lldb::SBProcess::SendEventData(), lldb::SBFrame::SetPC(), lldb::SBThread::SetSelectedFrame(), lldb_private::ExecutionContextRef::SetTargetPtr(), lldb::SBThread::Suspend(), lldb::SBProcess::UnloadImage(), and lldb::SBProcess::WriteMemory().

◆ Unlock()

void lldb_private::ProcessRunLock::ProcessRunLocker::Unlock ( )
inlineprotected

Definition at line 60 of file ProcessRunLock.h.

References m_lock, and lldb_private::ProcessRunLock::ReadUnlock().

Referenced by TryLock(), and ~ProcessRunLocker().

Member Data Documentation

◆ m_lock

ProcessRunLock* lldb_private::ProcessRunLock::ProcessRunLocker::m_lock
protected

Definition at line 67 of file ProcessRunLock.h.

Referenced by TryLock(), and Unlock().


The documentation for this class was generated from the following file: