|
libmoost
|
locks a token mutex with a given token More...
#include <token_mutex.hpp>
Public Member Functions | |
| scoped_lock (token_mutex< T > &token_mutex, const T &token) | |
| ~scoped_lock () | |
Private Attributes | |
| token_mutex< T > & | m_token_mutex |
| T | m_token |
Friends | |
| class | scoped_promote_lock |
locks a token mutex with a given token
Definition at line 57 of file token_mutex.hpp.
| moost::thread::token_mutex< T >::scoped_lock::scoped_lock | ( | token_mutex< T > & | token_mutex, |
| const T & | token | ||
| ) | [inline] |
Definition at line 65 of file token_mutex.hpp.
| moost::thread::token_mutex< T >::scoped_lock::~scoped_lock | ( | ) | [inline] |
Definition at line 72 of file token_mutex.hpp.
friend class scoped_promote_lock [friend] |
Definition at line 63 of file token_mutex.hpp.
T moost::thread::token_mutex< T >::scoped_lock::m_token [private] |
Definition at line 61 of file token_mutex.hpp.
token_mutex<T>& moost::thread::token_mutex< T >::scoped_lock::m_token_mutex [private] |
Definition at line 60 of file token_mutex.hpp.