System.Threading.TThreadPoolStats.Current

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class property Current: TThreadPoolStats read GetCurrent;

C++

/* static */ __property TThreadPoolStats Current = {read=GetCurrent};

Properties

Type Visibility Source Unit Parent
property public
System.Threading.pas
System.Threading.hpp
System.Threading TThreadPoolStats

Description

It returns the stats for the diferent threadpools.

When it is called from within a threadpool thread it returns the stats for the owing threadpool. On the other hand, when it is called outside of a threadpool thread, it returns the stats for the default threadpool.