#include <thread.h>
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::step().
|
inline |
References MutexedVariable< T >::m_mutex, and MutexedVariable< T >::m_value.
Referenced by Server::setAsyncFatalError().
|
private |
Referenced by MutexedVariable< T >::get(), and MutexedVariable< T >::set().
T MutexedVariable< T >::m_value |
Referenced by MutexedVariable< T >::get(), and MutexedVariable< T >::set().