返回顶部我要评分获取效率正确性完整性易理解0/200提交关闭在线提单论坛求助 HTL_thread_getthreadid_np 获取当前线程的ID。 接口定义int HTL_thread_getthreadid_np(void); 描述HTL_thread_getthreadid_np()用于获取当前线程的ID。 参数不涉及。 返回值线程ID。 示例int id; id = HTL_thread_getthreadid_np(); 父主题: 线程函数