The C++ framework for developing highly scalable, high performance servers on Windows platforms.

ISingleWriterMultipleReaderLock::ConditionalReader Class Reference
[Win32 Synchronization primitivesRAII - Resource Acquisition Is Initialization]

Inheritance diagram for ISingleWriterMultipleReaderLock::ConditionalReader:
Collaboration diagram for ISingleWriterMultipleReaderLock::ConditionalReader:

List of all members.

Detailed Description

A class that may lock an instance of ISingleWriterMultipleReaderLock for read access. That is it calls EnterToRead() in the constructor and Leave() in the destructor if locked is true and can therefore be used to support scope based locking and unlocking.

Public Member Functions

 ConditionalReader (ISingleWriterMultipleReaderLock &lock, bool locked=true)
void Leave ()

Constructor & Destructor Documentation

ConditionalReader ( ISingleWriterMultipleReaderLock lock,
bool  locked = true 
) [explicit]

Member Function Documentation

void Leave (  )  [inherited]

Generated on Sun Sep 12 19:08:38 2021 for The Server Framework - v7.4 by doxygen 1.5.3