System.Classes.TThread.ThreadID

From RAD Studio API Documentation
Revision as of 23:50, 16 October 2011 by PyBot (talk | contribs) (Scoping Libraries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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