Get the current Thread ID.
Source position: systemh.inc line 1566
function GetThreadID: TThreadID;
GetThreadID returns the current process ID. The meaning of the return value of this call is system dependent.
GetProcessID
Get the current process ID.