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

Poco::ScopedUnlock< M > Class Template Reference

#include <ScopedUnlock.h>

List of all members.

Detailed Description

template<class M>
class Poco::ScopedUnlock< M >

A class that simplifies thread synchronization with a mutex. The constructor accepts a Mutex and unlocks it. The destructor unlocks the mutex.

Definition at line 50 of file ScopedUnlock.h.

Public Member Functions

 ScopedUnlock (M &mutex, bool unlockNow=true)

Private Member Functions

ScopedUnlockoperator= (const ScopedUnlock &)
 ScopedUnlock (const ScopedUnlock &)

Private Attributes

M & _mutex

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

Generated by  Doxygen 1.6.0   Back to index