HTL_thread_executor_self

获取正在运行调用工作单元的执行器。

接口定义

int HTL_thread_executor_self(HTL_thread_executor_t *executor);

描述

HTL_thread_executor_self()用于获取正在运行调用工作单元的执行器。

参数

参数名

类型

描述

输入/输出

executor

HTL_thread_executor_t *

执行器句柄地址。

输出

返回值

示例

1
2
    HTL_thread_executor_t executor;
    HTL_thread_executor_self(&executor);