TThreadList.Add
Adds an element to the list.
Declaration
Source position: classesh.inc line 361
public
procedure Add(Item: Pointer);
Description
Add attempts to lock the list and adds the pointer Item to the list. After the pointer was added, the list is unlocked again.
See also
Name | Description |
---|---|
Clear | Removes all elements from the list. |
LockList | Locks the list for exclusive access. |
Remove | Removes an item from the list. |
UnlockList | Unlocks the list after it was locked. |