System.Threading.TThreadPoolStats.Get
Delphi
class function Get(const Pool: TThreadPool): TThreadPoolStats; static;
C++
static TThreadPoolStats __fastcall Get(TThreadPool* const Pool);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Threading.pas System.Threading.hpp |
System.Threading | TThreadPoolStats |
Description
It can be called inside or outside of a threadpool thread.
- When called inside, it returns the stats for the owning threadpool.
- When called outside, it returns the stats for the default threadpool.