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

#include <ProcessRunLock.h>

Public Member Functions

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

Protected Member Functions

void Unlock ()
 

Protected Attributes

ProcessRunLockm_lock = nullptr
 

Private Member Functions

 ProcessRunLocker (const ProcessRunLocker &)=delete
 
const ProcessRunLockeroperator= (const ProcessRunLocker &)=delete
 

Detailed Description

Definition at line 36 of file ProcessRunLock.h.

Constructor & Destructor Documentation

◆ ProcessRunLocker() [1/2]

lldb_private::ProcessRunLock::ProcessRunLocker::ProcessRunLocker ( )
default

◆ ~ProcessRunLocker()

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

Definition at line 40 of file ProcessRunLock.h.

References Unlock().

◆ ProcessRunLocker() [2/2]

lldb_private::ProcessRunLock::ProcessRunLocker::ProcessRunLocker ( const ProcessRunLocker )
privatedelete

Member Function Documentation

◆ operator=()

const ProcessRunLocker & lldb_private::ProcessRunLock::ProcessRunLocker::operator= ( const ProcessRunLocker )
privatedelete

◆ 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::SBProcess::AllocateMemory(), lldb::SBProcess::DeallocateMemory(), lldb::SBFrame::Disassemble(), lldb::SBFrame::EvaluateExpression(), lldb::SBTarget::EvaluateExpression(), lldb_private::QueueImpl::FetchItems(), lldb_private::QueueImpl::FetchThreads(), lldb::SBProcess::FindInMemory(), lldb::SBProcess::FindRangesInMemory(), lldb::SBFrame::FindRegister(), lldb::SBFrame::FindValue(), lldb::SBFrame::FindVariable(), lldb::SBFrame::GetBlock(), lldb::SBFrame::GetCompileUnit(), lldb::SBFrame::GetDescription(), lldb::SBFrame::GetDescriptionWithFormat(), 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 = nullptr
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: