您的位置:首页 > 其它

为何退出thread或者创建thread失败时,需要调用pthread_attr_destroy?

2011-11-30 15:31 381 查看
POSIX 标准要求:
When a thread attributes object is no longer required, it should be destroyed using the pthread_attr_destroy() function.  Destroying a thread attributes object has no effect on threads that were created using that object.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐