System.Generics.Collections.TThreadList.LockList
Delphi
function LockList: TList<T>;
C++
TList__1<T>* __fastcall LockList(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TThreadList |
Description
Locks the thread-safe list and returns it as a TList, so that no other thread can modify its data until you unlock the list.