RAD Studio VCL Reference
|
TThreadList represents a thread-safe list.
TThreadList = class;
class TThreadList;
Classes
A TThreadList object is a thread-safe list. Each TThreadList maintains a private TList (a list of pointers to objects). You can add or remove items in a TThreadList from multiple threads without explicit locks.
To access the actual TList object managed by the thread list, first lock the list by calling the LockList method. Unlock the list by calling the Unlock method when done.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|