Library: Foundation
Package: Threading
Header: Poco/ScopedUnlock.h
Description
A class that simplifies thread synchronization with a mutex. The constructor accepts a Mutex and unlocks it. The destructor locks the mutex.
Member Summary
Member Functions: operator =
Constructors
ScopedUnlock
ScopedUnlock() = delete;
ScopedUnlock
ScopedUnlock(
const ScopedUnlock & param376
) = delete;
ScopedUnlock
inline ScopedUnlock(
M & mutex,
bool unlockNow = true
);
Destructor
~ScopedUnlock
inline ~ScopedUnlock();
Member Functions
operator =
ScopedUnlock & operator = (
const ScopedUnlock & param377
) = delete;