LLDB  mainline
Public Member Functions | List of all members
lldb_private::ThreadSafeValue< T > Class Template Reference

#include <ThreadSafeValue.h>

Inheritance diagram for lldb_private::ThreadSafeValue< T >:
Inheritance graph
[legend]

Public Member Functions

 ThreadSafeValue ()
 
 ThreadSafeValue (const T &value)
 
 ~ThreadSafeValue ()
 
GetValue () const
 
const T & GetValueNoLock () const
 
void SetValue (const T &value)
 
void SetValueNoLock (const T &value)
 
std::recursive_mutex & GetMutex ()
 

Detailed Description

template<class T>
class lldb_private::ThreadSafeValue< T >

Definition at line 19 of file ThreadSafeValue.h.

Constructor & Destructor Documentation

◆ ThreadSafeValue() [1/2]

template<class T>
lldb_private::ThreadSafeValue< T >::ThreadSafeValue ( )
inline

Definition at line 22 of file ThreadSafeValue.h.

◆ ThreadSafeValue() [2/2]

template<class T>
lldb_private::ThreadSafeValue< T >::ThreadSafeValue ( const T &  value)
inline

Definition at line 24 of file ThreadSafeValue.h.

◆ ~ThreadSafeValue()

template<class T>
lldb_private::ThreadSafeValue< T >::~ThreadSafeValue ( )
inline

Definition at line 26 of file ThreadSafeValue.h.

Member Function Documentation

◆ GetMutex()

template<class T>
std::recursive_mutex& lldb_private::ThreadSafeValue< T >::GetMutex ( )
inline

Definition at line 50 of file ThreadSafeValue.h.

◆ GetValue()

template<class T>
T lldb_private::ThreadSafeValue< T >::GetValue ( ) const
inline

◆ GetValueNoLock()

template<class T>
const T& lldb_private::ThreadSafeValue< T >::GetValueNoLock ( ) const
inline

Definition at line 39 of file ThreadSafeValue.h.

◆ SetValue()

template<class T>
void lldb_private::ThreadSafeValue< T >::SetValue ( const T &  value)
inline

Definition at line 41 of file ThreadSafeValue.h.

◆ SetValueNoLock()

template<class T>
void lldb_private::ThreadSafeValue< T >::SetValueNoLock ( const T &  value)
inline

Definition at line 48 of file ThreadSafeValue.h.

Referenced by lldb_private::Process::RunThreadPlan().


The documentation for this class was generated from the following file: