摘要: transfrom: https://blog.csdn.net/a0408152/article/details/129093394 此前,我对detach的理解是,当主线程退出后,子线程能够继续存在。实际上,当主线程退出后,子线程也随之结束了。先看一个例子: #include <iostream 阅读全文
posted @ 2023-04-26 17:35 牛博张 阅读(1036) 评论(0) 推荐(0) 编辑