Purpose |
Return a Long-integer thread identifier of the current thread. |
Syntax |
thrdID& = THREADID |
Remarks |
The thread ID value is returned for the thread that is currently executing. The Thread ID is intended for use with the various (advanced) thread-related API functions provided by Windows. |
Restrictions |
The thread ID value cannot be used interchangeably with the thread handle returned by THREAD CREATE. |
See also |
FUNCTION/END FUNCTION, THREAD CLOSE, THREAD CREATE, THREAD RESUME, THREAD STATUS, THREAD SUSPEND, THREADED variables |