Sleeping Wombat Common Library  0.50.0
swCommonLibrary
Public Member Functions | Private Attributes | List of all members
sw::ReaderUniqueLock< MutexType > Class Template Reference

Equivalent of std::unique_lock class for ReaderWriterLock. More...

#include <UniqueLock.h>

Public Member Functions

 ReaderUniqueLock (MutexType &lock)
 
void Lock ()
 Locks writer lock.
 
void Unlock ()
 Unlocks writer lock.
 

Private Attributes

MutexType & m_lock
 

Detailed Description

template<typename MutexType>
class sw::ReaderUniqueLock< MutexType >

Equivalent of std::unique_lock class for ReaderWriterLock.


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