TMultiReadExclusiveWriteSynchronizer class
Standard implementation of a IReadWriteSync interface.
Declaration
TMultiReadExclusiveWriteSynchronizer = class(TInterfacedObject)Inheritance
- TMultiReadExclusiveWriteSynchronizer
- TInterfacedObject
- TObject
Description
TMultiReadExclusiveWriteSynchronizer is a default implementation of the
IReadWriteSync interface. It uses a single mutex to protect access to the
read/write resource, resulting in a single thread having access to the resource.See also
Properties
RevisionLevel | public | |
WriterThreadID | public |
Methods
ThreadIDtoIndex | protected | |
GetThreadInfo | protected | |
RemoveThread | protected | |
Create | public | Create a new instance of the TMultiReadExclusiveWriteSynchronizer class. |
Destroy | public | Destroys the TMultiReadExclusiveWriteSynchronizer instance. |
Beginwrite | public | Request write access to the resource. |
Endwrite | public | Release write access to the resource. |
Beginread | public | Request read access to the resource. |
Endread | public | Release read access to the resource. |
Inherited
From TInterfacedObject (7)
_AddRef _Release AfterConstruction BeforeDestruction NewInstance QueryInterface RefCount
From TObject (37)
CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
