Rate This Document
Findability
Accuracy
Completeness
Readability

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