System.SysUtils.TMultiReadExclusiveWriteSynchronizer.EndRead
Delphi
procedure EndRead;
C++
void __fastcall EndRead(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TMultiReadExclusiveWriteSynchronizer |
Description
Removes a thread from the internal list of threads that are accessing the protected memory.
Call EndRead after reading from the memory protected by the multi-read exclusive-write synchronizer. Each call to BeginRead must be matched by a call to EndRead, or other threads can never return from the BeginWrite method.