我要评分
获取效率
正确性
完整性
易理解

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);