RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TThread.ThreadID Property

Identifies the thread throughout the system.

Pascal
property ThreadID: THandle;
C++
__property THandle ThreadID;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!