RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMultiReadExclusiveWriteSynchronizer.EndWrite Method

Allows other threads to access the associated memory.

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

Call EndWrite after writing to the memory that is protected by the multi-read exclusive-write synchronizer. Each call to BeginWrite must be matched by a call to EndWrite, or other threads can never return from the BeginRead or BeginWrite methods. 

 

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