Skip to content

TThreadList.LockList

Locks the list for exclusive access.

Declaration

Source position: classesh.inc line 363

public 
  function LockList : TList;

Description

LockList locks the list for exclusive access. Locklist uses an internal critical section, so all rules for multiple locking of critical sections apply to locklist/unlocklist as well.

See also

Name Description
Add Adds an element to the list.
Clear Removes all elements from the list.
Remove Removes an item from the list.
UnlockList Unlocks the list after it was locked.