鲲鹏社区首页
中文
注册
开发者
我要评分
获取效率
正确性
完整性
易理解
在线提单
论坛求助

HTL_thread_getthreadid_np

获取当前线程的ID。

接口定义

int HTL_thread_getthreadid_np(void);

描述

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

参数

不涉及。

返回值

线程ID。

示例

1
2
int id;
id = HTL_thread_getthreadid_np();