C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537

UaReaderWriterLock class is used to allow threads to synchronize access to a resource. More...

#include <uareaderwriterlock.h>

Public Member Functions

 UaReaderWriterLock (OpcUa_UInt16 parallelReadCount=5)
 Construction Constructs a UaReaderWriterLock class is used to allow threads to synchronize access to a resource. More...
 
 ~UaReaderWriterLock ()
 Destruction Destroys the UaReaderWriterLock object.
 

Detailed Description

UaReaderWriterLock class is used to allow threads to synchronize access to a resource.

The UaReaderWriterLock class provides read access to multiple consumers at a time. When a writer has access no other writers or readers can have access. It is not possible to create shallow copies of this Class. It is not possible to use the default constructor.

Constructor & Destructor Documentation

UaReaderWriterLock::UaReaderWriterLock ( OpcUa_UInt16  parallelReadCount = 5)

Construction Constructs a UaReaderWriterLock class is used to allow threads to synchronize access to a resource.

Parameters
parallelReadCountSpecifies the number of readers that can accesss in paralell.

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