Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeDouble Class

Implements a thread-safe Double data type.

Pascal
TIdThreadSafeDouble = class(TIdThreadSafe);

TIdThreadSafeDouble is a TIdThreadSafe descendant that implements a thread-safe data type for storing a Double value. 

TIdThreadSafeDouble relies on TIdCriticalSection for resource protection in multi-threaded applications. 

TIdThreadSafeDouble implements the Value property for reading or writing the Double value associated with the class instance using resource protection. 

TIdThreadSafeDouble also implements methods that protect write access to Value using Add and Subtract.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.