Automatically unlocks and re-locks a mutex object. More...
|GenericScopedUnlock (const LockType &lock) noexcept|
|Creates a GenericScopedUnlock. More...|
|~GenericScopedUnlock () noexcept|
class GenericScopedUnlock< LockType >
Automatically unlocks and re-locks a mutex object.
This is the reverse of a GenericScopedLock object - instead of locking the mutex for the lifetime of this object, it unlocks it.
Make sure you don't try to unlock mutexes that aren't actually locked!
Constructor & Destructor Documentation
Creates a GenericScopedUnlock.
Make sure this object is created and deleted by the same thread, otherwise there are no guarantees what will happen! Best just to use it as a local stack object, rather than creating one with the new() operator.
The documentation for this class was generated from the following file:
Generated on Fri Jan 12 2018 09:51:19 for JUCE by 1.8.13