HTL_thread_self
获取当前线程的句柄。
接口定义
HTL_thread_t HTL_thread_self(void);
描述
HTL_thread_self()用于获取当前线程的句柄,通过返回值返回线程的句柄。
参数
不涉及。
返回值
线程句柄。
示例
1 2 | HTL_thread_t self; self = HTL_thread_self(); |
父主题: 线程函数
获取当前线程的句柄。
HTL_thread_t HTL_thread_self(void);
HTL_thread_self()用于获取当前线程的句柄,通过返回值返回线程的句柄。
不涉及。
线程句柄。
1 2 | HTL_thread_t self; self = HTL_thread_self(); |