HTL_thread_mach_thread_np
Obtains the ID of a specified thread.
Interface Definition
int HTL_thread_mach_thread_np(HTL_thread_t thread);
Description
HTL_thread_mach_thread_np() is used to obtain the ID of a specified thread.
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
thread |
HTL_thread_t |
Handle to the thread. |
Input |
Return Value
Thread ID.
Example
1 2 | HTL_thread_t thread; id = HTL_thread_mach_thread_np(thread); |
Parent topic: Thread Functions