Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cThreadLockRWS Class Reference

#include <cThreadLockRW.h>

Inheritance diagram for Gray::cThreadLockRWS:
Gray::cNonCopyable

Public Member Functions

void IncReadLockCount ()
 
void DecReadLockCount ()
 
void Lock ()
 
void Unlock ()
 

Additional Inherited Members

- Protected Member Functions inherited from Gray::cNonCopyable
 cNonCopyable () noexcept
 Force the use of Factory creation via protected constructor. More...
 
 ~cNonCopyable () noexcept
 

Detailed Description

Simple NON recursive, NON upgradeable, read / write locking. from: http://www.viksoe.dk/code/rwmonitor.htm

Todo:
cThreadLockRW NOT complete similar to https://msdn.microsoft.com/en-us/library/windows/desktop/aa904937(v=vs.85).aspx e.g. InitializeSRWLock()

Member Function Documentation

◆ DecReadLockCount()

void Gray::cThreadLockRWS::DecReadLockCount ( )
inline

◆ IncReadLockCount()

void Gray::cThreadLockRWS::IncReadLockCount ( )
inline

◆ Lock()

void Gray::cThreadLockRWS::Lock ( )
inline

◆ Unlock()

void Gray::cThreadLockRWS::Unlock ( )
inline

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