摘要: https://blog.csdn.net/weixin_44342705/article/details/116377554 阅读全文
posted @ 2021-12-02 09:25 halfup 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 线程的清理函数 类似于进程的终止函数atexit()。 include <pthread.h> void pthread_cleanup_push( void (*rtn)(void*), void* arg); void pthread_cleanup_pop(int execute); 以上一组 阅读全文
posted @ 2021-12-02 09:14 halfup 阅读(230) 评论(0) 推荐(0) 编辑