RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableTypeRegistry.UnLock Method

Allows other threads to access the type registry after it was locked.

Pascal
procedure UnLock; virtual;
C++
virtual __fastcall UnLock();

UnLock exits the critical section that the Lock method entered. It reenables other threads access to the type registry after a call to the Lock method.  

Every call to the Lock method must be paired by a call to UnLock when the locking thread is finished with the type registry. The methods of TRemotableTypeRegistry that call the Lock method also call the UnLock method when they are finished. 

 

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