src: added ReaderWriterLock, helpers and Semaphore
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef SCOPED_READER_LOCK_H
|
||||
#define SCOPED_READER_LOCK_H
|
||||
|
||||
#include "utility/synchronization/ReaderWriterLock.h"
|
||||
|
||||
class ScopedReaderLock
|
||||
{
|
||||
public:
|
||||
ScopedReaderLock(ReaderWriterLock& lock);
|
||||
~ScopedReaderLock();
|
||||
|
||||
private:
|
||||
ReaderWriterLock& m_lock;
|
||||
};
|
||||
|
||||
#endif // SCOPED_READER_LOCK_H
|
||||
Reference in New Issue
Block a user