help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

GetCurrentThreadId

Return the id of the currently running thread.

Declaration

Source position: threadh.inc line 138

function GetCurrentThreadId: TThreadID;

Description

GetCurrentThreadId returns the ID of the currently running thread. It can be used in calls such as KillThread or ThreadSetPriority

Errors

None.

See also

KillThread

  

Kill a running thread

ThreadSetPriority

  

Set the priority of a thread.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505