getThreadId()
Returns the identification number of the current thread.
Synopsis
int getThreadId();
Parameters
Parameter | Description |
---|---|
none | - |
Return value
The function returns the number of the thread.
Description
Returns the identification number of the current thread.
Example
main()
{
DebugN(getThreadId());
}
Assignment
Threads
Availability
CTRL