Library: Foundation
Package: Threading
Header: Poco/ScopedLock.h
A class that simplifies thread synchronization with a mutex. The constructor accepts a Mutex and locks it. The destructor unlocks the mutex. The unlock() member function allows for manual unlocking of the mutex.
Member Functions: unlock
ScopedLockWithUnlock(
M & mutex
);
void unlock();