Topic Path: Symbol Reference > Classes > TIdThreadSafeBoolean Class
TIdThreadSafeBoolean Class

Implements a thread-safe Boolean data type.

TIdThreadSafeBoolean = class(TIdThreadSafe);

TIdThreadSafeBoolean is a TIdThreadSafe descendant that implements a thread-safe data type for storing a Boolean value. 

TIdThreadSafeBoolean relies on the inherited TCriticalSection for resource protection in multi-threaded applications. 

TIdThreadSafeBoolean implements the Value property for reading or writing the Boolean value associated with the class instance with resource protection. TIdThreadSafeBoolean also implements methods that protect write access to Value using Toggle.

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