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

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

Inheritance diagram for ISingleWriterMultipleReaderLock::ConditionalWriter:
Collaboration diagram for ISingleWriterMultipleReaderLock::ConditionalWriter:

List of all members.

Detailed Description

A class that may lock an instance of ISingleWriterMultipleReaderLock for write access. That is it calls EnterToWrite() 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

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

Constructor & Destructor Documentation

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

Member Function Documentation

void Leave (  )  [inherited]

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