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