Function ThreadID() Foundation
Retrieves the numeric ID of the current thread.
ThreadID() -> nThreadID
The function returns a numeric value > 0.
The function ThreadID() is used to get the numeric ID of the thread in which the function is called. The value is unique within a single process and may occur multiple times in different processes.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.