| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Return the id of the currently running thread.
Source position: threadh.inc line 154
| function GetCurrentThreadId: TThreadID; | 
GetCurrentThreadId returns the ID of the currently running thread. It can be used in calls such as KillThread or ThreadSetPriority
None.
| 
 | Kill a running thread | |
| 
 | Set the priority of a thread. |