Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::ScopedLock< M > Class Template Reference

#include <ScopedLock.h>

List of all members.

Public Member Functions

 ScopedLock (M &mutex)

Private Member Functions

ScopedLockoperator= (const ScopedLock &)
 ScopedLock (const ScopedLock &)

Private Attributes

M & _mutex

Detailed Description

template<class M>
class Poco::ScopedLock< M >

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.


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

Generated by  Doxygen 1.6.0   Back to index