RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMultiReadExclusiveWriteSynchronizer.EndRead Method

Removes a thread from the internal list of threads that are accessing the protected memory.

Pascal
procedure EndRead;
C++
__fastcall EndRead();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!