System.Classes.TThreadList.LockList
Delphi
function LockList: TList;
C++
TList* __fastcall LockList();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TThreadList |
Description
Locks the thread-safe list and returns a TList object.
Note: LockList calls the Windows EnterCriticalSection function to lock the thread-safe list. It then returns the TList object that contains the list.
See Also