Returns the ID of the current thread.
iThreadID = GetThreadId()
Variable | Description |
---|---|
iThreadID | The returned ID of the current thread. INTEGER. |
The main thread of a script has an ID of 1. All other thread IDs are unique and begin at 2.
iClient1_ID = GetThreadId()