Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TThreadList.LockList

Locks the list for exclusive access.

Declaration

Source position: classesh.inc line 650

public function TThreadList.LockList: TList;

Description

LockList locks the thread list for exclusive access. The return value for the method is the internal TList instance with pointers to the TThread instances for the thread list. Locklist uses an internal critical section, so all rules for multiple locking of critical sections apply to locklist/unlocklist as well.

See also

Clear

  

Removes all elements from the list.

Add

  

Adds an element to the list.

Remove

  

Removes an item from the list.

UnlockList

  

Unlocks the list after it was locked.


Documentation generated on: Nov 23 2024