#include <thread.h>
Collaboration diagram for MutexedVariable< T >:Public Member Functions | |
| MutexedVariable (const T &value) | |
| T | get () |
| void | set (const T &value) |
Public Attributes | |
| T | m_value |
Private Attributes | |
| std::mutex | m_mutex |
|
inline |
|
inline |
References MutexedVariable< T >::m_mutex, and MutexedVariable< T >::m_value.
Referenced by Server::AsyncRunStep(), and Server::step().
Here is the caller graph for this function:
|
inline |
References MutexedVariable< T >::m_mutex, and MutexedVariable< T >::m_value.
Referenced by Server::setAsyncFatalError().
Here is the caller graph for this function:
|
private |
Referenced by MutexedVariable< T >::get(), and MutexedVariable< T >::set().
| T MutexedVariable< T >::m_value |
Referenced by MutexedVariable< T >::get(), and MutexedVariable< T >::set().