System.Classes.TThread.ThreadID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ThreadID: TThreadID read FThreadID;

C++

__property unsigned ThreadID = {read=FThreadID, nodefault};

Properties

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

Description

Identifies the thread throughout the system.

Use ThreadID, during debugging, to identify the thread in the Threads status box. On Win32, ThreadID is also useful when calling Win32 API functions for manipulating the thread.

ThreadID is different than the thread's handle in the Handle property.

See Also