Set the debug name for a thread.
Source position: threadh.inc line 159
procedure SetThreadDebugName( |
threadHandle: TThreadID; |
const ThreadName: AnsiString |
); |
threadHandle: TThreadID; |
const ThreadName: UnicodeString |
); |
SetThreadDebugName can be used to set the name of a thread in a debugging context. A debugger can use this information to show the name instead of the thread ID, thus making debugging easier. The current platform's TThreadManager implementation must support this call.
This call does nothing on platforms that do not support threading.
|
Return the id of the currently running thread. |
|
|
Thread manager record. |