Skip to content

TThreadList.Add

Adds an element to the list.

Declaration

Source position: classesh.inc line 651

public 
procedure TThreadList.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
LockList Locks the list for exclusive access.
Clear Removes all elements from the list.
Remove Removes an item from the list.
UnlockList Unlocks the list after it was locked.