中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

HTL_thread_getthreadid_np

获取当前线程的ID。

接口定义

int HTL_thread_getthreadid_np(void);

描述

HTL_thread_getthreadid_np()用于获取当前线程的ID。

参数

不涉及。

返回值

线程ID。

示例

int id;
id = HTL_thread_getthreadid_np();