9#ifndef LLDB_HOST_PROCESSRUNLOCK_H
10#define LLDB_HOST_PROCESSRUNLOCK_H
45 other.m_lock =
nullptr;
51 other.m_lock =
nullptr;
ProcessRunLocker & operator=(ProcessRunLocker &&other)
ProcessRunLocker(const ProcessRunLocker &)=delete
ProcessRunLocker()=default
const ProcessRunLocker & operator=(const ProcessRunLocker &)=delete
ProcessRunLocker(ProcessRunLocker &&other)
bool TryLock(ProcessRunLock *lock)
bool SetStopped()
Set the process to stopped.
ProcessRunLock(const ProcessRunLock &)=delete
bool SetRunning()
Set the process to running.
const ProcessRunLock & operator=(const ProcessRunLock &)=delete
A class that represents a running process on the host machine.
pthread_rwlock_t rwlock_t