LLDB mainline
|
#include <SBMutex.h>
Public Member Functions | |
SBMutex () | |
SBMutex (const SBMutex &rhs) | |
const SBMutex & | operator= (const SBMutex &rhs) |
~SBMutex () | |
bool | IsValid () const |
Returns true if this lock has ownership of the underlying mutex. | |
void | lock () const |
Blocking operation that takes ownership of this lock. | |
void | unlock () const |
Releases ownership of this lock. | |
Private Member Functions | |
SBMutex (lldb::TargetSP target_sp) | |
Private Attributes | |
std::shared_ptr< std::recursive_mutex > | m_opaque_sp |
Friends | |
class | SBTarget |
SBMutex::SBMutex | ( | ) |
Definition at line 19 of file SBMutex.cpp.
References LLDB_INSTRUMENT_VA.
SBMutex::SBMutex | ( | const SBMutex & | rhs | ) |
Definition at line 23 of file SBMutex.cpp.
References LLDB_INSTRUMENT_VA.
SBMutex::~SBMutex | ( | ) |
Definition at line 40 of file SBMutex.cpp.
References LLDB_INSTRUMENT_VA.
|
private |
Definition at line 34 of file SBMutex.cpp.
References LLDB_INSTRUMENT_VA.
bool SBMutex::IsValid | ( | ) | const |
Returns true if this lock has ownership of the underlying mutex.
Definition at line 42 of file SBMutex.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
void SBMutex::lock | ( | ) | const |
Blocking operation that takes ownership of this lock.
Definition at line 48 of file SBMutex.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Definition at line 27 of file SBMutex.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
void SBMutex::unlock | ( | ) | const |
Releases ownership of this lock.
Definition at line 55 of file SBMutex.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
private |