9#ifndef LLDB_HOST_PROCESSRUNLOCK_H
10#define LLDB_HOST_PROCESSRUNLOCK_H
17#include "llvm/ADT/DenseMap.h"
RAII helper around the read-lock side of ProcessRunLock.
ProcessRunLocker & operator=(ProcessRunLocker &&other)
ProcessRunLocker(const ProcessRunLocker &)=delete
ProcessRunLocker()=default
const ProcessRunLocker & operator=(const ProcessRunLocker &)=delete
bool TryLock(ProcessRunLock *lock)
Try to acquire the read lock.
std::mutex m_recursion_mutex
bool SetStopped()
Set the process to stopped.
ProcessRunLock(const ProcessRunLock &)=delete
bool SetRunning()
Set the process to running.
llvm::DenseMap< uint64_t, uint32_t > m_recursion
const ProcessRunLock & operator=(const ProcessRunLock &)=delete
A class that represents a running process on the host machine.
pthread_rwlock_t rwlock_t