Indy 9
|
TIdThreadSafe = class
Note: TIdThreadSafe does not implement a specific data type value, and should not be instantiated in an application. Use one of the descendant classes that realizes a data type, such as TIdThreadSafeInteger, TIdThreadSafeString, or TIdThreadSafeStringList.
TIdThreadSafe and descendant classes are used as an alternative to ThreadVars which does not allow runtime initialization and assignment using C++ Builder. TIdThreadSafe is used in IdTunnelSlave.pas to declared UniqueID for use with tunnel slave components.
constructor Create; virtual;
destructor Destroy; override;
procedure Lock;
procedure Unlock;