Topic Path: Symbol Reference > Classes > TIdThreadSafeInteger Class
ContentsIndexHome
PreviousUpNext
TIdThreadSafeInteger Class

Implements a thread-safe Integer data type.

File
TIdThreadSafeInteger = class(TIdThreadSafe);

TIdThreadSafeInteger is a TIdThreadSafe descendant that implements a thread-safe data type for storing an Integer value. 

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

TIdThreadSafeInteger implements the Value property for reading or writing the Integer value for the data type using resource protection. 

TIdThreadSafeInteger also implements methods that protect write access to Value using Increment and Decrement.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.