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

Implements a thread-safe list of threads.

TIdThreadSafeList = class(TIdThreadList);

TIdThreadSafeList is a TThreadList descendant that provides thread-safe access to a list of TObject instances. TIdThreadSafeList uses the inherited LockList and UnlockList methods in TThreadList to provide resource protection in multithreaded applications. 

TIdThreadSafeList implements methods that allow assigning the contents of the list from either a TList and or a TThreadList instance. 

TIdThreadSafeList implements methods that allow extracting TObject instances from the list using Pop and Pull.

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