#include <ScopedLock.h>
Public Member Functions | |
ScopedLock (M &mutex) | |
~ScopedLock () | |
Private Member Functions | |
ScopedLock & | operator= (const ScopedLock &) |
ScopedLock () | |
ScopedLock (const ScopedLock &) | |
Private Attributes | |
M & | _mutex |
A class that simplifies thread synchronization with a mutex. The constructor accepts a Mutex and locks it. The destructor unlocks the mutex.
Definition at line 50 of file ScopedLock.h.
Poco::ScopedLock< M >::ScopedLock | ( | M & | mutex | ) | [inline] |
Definition at line 57 of file ScopedLock.h.
Poco::ScopedLock< M >::~ScopedLock | ( | ) | [inline] |
Definition at line 61 of file ScopedLock.h.
Poco::ScopedLock< M >::ScopedLock | ( | ) | [private] |
Poco::ScopedLock< M >::ScopedLock | ( | const ScopedLock< M > & | ) | [private] |
ScopedLock& Poco::ScopedLock< M >::operator= | ( | const ScopedLock< M > & | ) | [private] |
M& Poco::ScopedLock< M >::_mutex [private] |
Definition at line 67 of file ScopedLock.h.