LLDB mainline
|
#include <ThreadSafeValue.h>
Public Member Functions | |
ThreadSafeValue ()=default | |
ThreadSafeValue (const T &value) | |
~ThreadSafeValue ()=default | |
T | GetValue () const |
const T & | GetValueNoLock () const |
void | SetValue (const T &value) |
void | SetValueNoLock (const T &value) |
std::recursive_mutex & | GetMutex () |
Private Member Functions | |
ThreadSafeValue (const ThreadSafeValue &)=delete | |
const ThreadSafeValue & | operator= (const ThreadSafeValue &)=delete |
Private Attributes | |
T | m_value |
std::recursive_mutex | m_mutex |
Definition at line 18 of file ThreadSafeValue.h.
|
default |
|
inline |
Definition at line 21 of file ThreadSafeValue.h.
|
default |
|
privatedelete |
|
inline |
Definition at line 48 of file ThreadSafeValue.h.
References lldb_private::ThreadSafeValue< T >::m_mutex.
Referenced by lldb_private::Process::SetPrivateState().
|
inline |
Definition at line 25 of file ThreadSafeValue.h.
References lldb_private::ThreadSafeValue< T >::m_mutex, and lldb_private::ThreadSafeValue< T >::m_value.
Referenced by lldb_private::Process::DestroyImpl(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoDestroy(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoHalt(), lldb_private::Process::GetExitDescription(), lldb_private::Process::GetExitStatus(), lldb_private::Process::GetPrivateState(), lldb_private::Process::GetState(), lldb_private::Process::Halt(), lldb_private::Process::IsAlive(), lldb_private::Process::IsRunning(), lldb_private::Process::PrivateResume(), lldb_private::Process::PrivateStateThreadIsValid(), lldb_private::Process::RunPrivateStateThread(), lldb_private::Process::RunThreadPlan(), lldb_private::Process::SetExitStatus(), lldb_private::Process::SetPublicState(), and lldb_private::Process::StopForDestroyOrDetach().
|
inline |
Definition at line 36 of file ThreadSafeValue.h.
References lldb_private::ThreadSafeValue< T >::m_value.
Referenced by lldb_private::Process::SetPrivateState().
|
privatedelete |
|
inline |
Definition at line 38 of file ThreadSafeValue.h.
References lldb_private::ThreadSafeValue< T >::m_mutex, and lldb_private::ThreadSafeValue< T >::m_value.
Referenced by lldb_private::Process::SetPublicState().
|
inline |
Definition at line 46 of file ThreadSafeValue.h.
References lldb_private::ThreadSafeValue< T >::m_value.
Referenced by lldb_private::Process::RunThreadPlan(), and lldb_private::Process::SetPrivateState().
|
mutableprivate |
Definition at line 52 of file ThreadSafeValue.h.
Referenced by lldb_private::ThreadSafeValue< T >::GetMutex(), lldb_private::ThreadSafeValue< T >::GetValue(), and lldb_private::ThreadSafeValue< T >::SetValue().
|
private |
Definition at line 51 of file ThreadSafeValue.h.
Referenced by lldb_private::ThreadSafeValue< T >::GetValue(), lldb_private::ThreadSafeValue< T >::GetValueNoLock(), lldb_private::ThreadSafeValue< T >::SetValue(), and lldb_private::ThreadSafeValue< T >::SetValueNoLock().