System.Threading.TThreadPoolStats.Get
Delphi
class function Get(const Pool: TThreadPool): TThreadPoolStats; static;
C++
static TThreadPoolStats __fastcall Get(TThreadPool* const Pool);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Threading.pas System.Threading.hpp |
System.Threading | TThreadPoolStats |
Description
Elle peut être appelée à l'intérieur ou à l'extérieur d'un thread de threadpool.
- Si elle est appelée à l'intérieur, elle renvoie les stats relatives au threadpool propriétaire.
- Si elle est appelée à l'extérieur, elle renvoie les stats relatives au threadpool par défaut.