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. 

 

BeginWrite 

BeginRead 

Using the Multi-read Exclusive-write Synchronizer

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!