HTL_thread_getthreadid_np
获取当前线程的ID。
接口定义
int HTL_thread_getthreadid_np(void);
描述
HTL_thread_getthreadid_np()用于获取当前线程的ID。
参数
不涉及。
返回值
线程ID。
示例
int id; id = HTL_thread_getthreadid_np();
父主题: 线程函数
获取当前线程的ID。
int HTL_thread_getthreadid_np(void);
HTL_thread_getthreadid_np()用于获取当前线程的ID。
不涉及。
线程ID。
int id; id = HTL_thread_getthreadid_np();