9#ifndef LLDB_API_SBMUTEX_H
10#define LLDB_API_SBMUTEX_H
Holds either a standalone std::recursive_mutex (default-constructed SBMutex, no Target to resolve thr...
bool IsValid() const
Returns true if this lock has ownership of the underlying mutex.
void unlock() const
Releases ownership of this lock.
bool try_lock() const
Tries to lock the mutex.
std::shared_ptr< MutexVariant > m_opaque_sp
const SBMutex & operator=(const SBMutex &rhs)
void lock() const
Blocking operation that takes ownership of this lock.
std::shared_ptr< lldb_private::Target > TargetSP