System.Classes.TThread.CurrentThread

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class property CurrentThread: TThread read GetCurrentThread;

C++

/* static */ __property TThread* CurrentThread = {read=GetCurrentThread};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TThread

Description

The currently running thread.

Note: This is the same as TThread.Current. Please use TThread.Current, which is more clear and less redundant.

See Also