TThreadList class
Thread-safe list object.
Declaration
TThreadList = classDescription
TThreadList is a thread-safe
Tlist implementation.
Unlike
TList, it can be accessed read-write by multiple threads:
the list implementation will take care of locking the list when adding or
removing items from the list.
See also
Properties
Duplicates | public | Describes what to do with duplicates. |
Methods
Create | public | Creates a new thread-safe list. |
Destroy | public | Destroys the list instance. |
Add | public | Adds an element to the list. |
Clear | public | Removes all elements from the list. |
LockList | public | Locks the list for exclusive access. |
Remove | public | Removes an item from the list. |
UnlockList | public | Unlocks the list after it was locked. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
