Fork me on GitHub

12 2021 档案

摘要:换sources vi /etc/apt/sources.list deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib deb-src https://mirrors.aliyun.com/debian/ bul 阅读全文
posted @ 2021-12-19 17:20 yzhu798 阅读(100) 评论(0) 推荐(0) 编辑
摘要:线程管理 thread管理基础 thread_join_detach.cpp 线程启动后,销毁前要调用join或detach,否则std::thread的析构函数会调用std::terminate终止程序. 线程都有入口函数,入口main/foo 函数. 线程会在函数结束时完会退出. 使用join即 阅读全文
posted @ 2021-12-17 17:52 yzhu798 阅读(44) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示