Library: Foundation
Package: Threading
Header: Poco/ScopedUnlock.h
A class that simplifies thread synchronization with a mutex. The constructor accepts a Mutex and unlocks it. The destructor locks the mutex.
 
 inline ScopedUnlock(
    M & mutex,
    bool unlockNow = true
);
 
 inline ~ScopedUnlock();