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

HTL_thread_getthreadid_np

Obtains the ID of the current thread.

Interface Definition

int HTL_thread_getthreadid_np(void);

Description

HTL_thread_getthreadid_np() is used to obtain the ID of the current thread.

Parameters

N/A

Return Value

Thread ID.

Example

1
2
int id;
id = HTL_thread_getthreadid_np();