System.Classes.TThread.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create; overload;
constructor Create(CreateSuspended: Boolean); overload;
constructor Create(CreateSuspended: Boolean; ReservedStackSize: NativeUInt); overload;

C++

__fastcall TThread()/* overload */;
__fastcall TThread(bool CreateSuspended)/* overload */;
__fastcall TThread(bool CreateSuspended, NativeUInt ReservedStackSize)/* overload */;

Properties

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

Description

Creates an instance of a thread object.

Call Create to create a thread in an application. If CreateSuspended is false, Execute is called immediately after the constructor. If CreateSuspended is true, Execute is not called until after the Start method is called.

See Also

Code Examples