HTL_thread_attr_destroy

销毁线程属性。

接口定义

int HTL_thread_attr_destroy(HTL_thread_attr_t *thread_attr);

描述

HTL_thread_attr_destroy()销毁线程属性thread_attr的资源,并将thread_attr设置为HTL_THREAD_ATTR_NULL。

参数

参数名

类型

描述

输入/输出

thread_attr

HTL_thread_attr_t *

线程属性句柄的地址。

输入/输出

返回值

示例

    /* Free the attribute */
    ret = HTL_thread_attr_destroy(&attr);