System.Generics.Collections.TThreadList.LockList

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function LockList: TList<T>;

C++

TList__1<T>* __fastcall LockList(void);

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TThreadList


Description

Verrouille la liste adaptée aux threads et la renvoie sous forme de TList, afin qu'aucun autre thread ne puisse modifier ses données jusqu'à ce que vous déverrouilliez la liste.

Voir aussi