Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeList Class

Implements a thread-safe list of threads.

Pascal
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.

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.