CppCommon
1.0.4.1
C++ Common Library
|
Read locker synchronization primitive. More...
#include <locker.h>
Public Member Functions | |
ReadLocker (T &primitive) | |
Default class constructor. More... | |
ReadLocker (const ReadLocker &)=delete | |
ReadLocker (ReadLocker &&)=delete | |
~ReadLocker () | |
ReadLocker & | operator= (const ReadLocker &)=delete |
ReadLocker & | operator= (ReadLocker &&)=delete |
Read locker synchronization primitive.
A read locker is an object that manages a given read/write synchronization primitive by keeping it always locked for read (read-lock in constructor and read-unlock in destructor).
Thread-safe.
|
inlineexplicit |
|
delete |
|
delete |
|
inline |
|
delete |
|
delete |