C++ Based OPC UA Client/Server/PubSub SDK
1.7.9.586
|
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. | |
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.
UaReaderWriterLock::UaReaderWriterLock | ( | OpcUa_UInt16 | parallelReadCount = 5 | ) |
Construction Constructs a UaReaderWriterLock class is used to allow threads to synchronize access to a resource.
parallelReadCount | Specifies the number of readers that can accesss in paralell. |