获取正在运行调用工作单元的执行器。
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); |