会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lypbendlf
博客园
首页
新随笔
联系
订阅
管理
2023年1月14日
线程优雅退出了解
摘要: 转自:https://www.jianshu.com/p/0821801170dd,https://zhuanlan.zhihu.com/p/357115847 1.什么是优雅退出 退出一个线程的时候,要保证它使用的资源被释放掉,不能直接stop,否则可能导致未定义的行为,那么如何保证线程退出前所占
阅读全文
posted @ 2023-01-14 12:01 lypbendlf
阅读(96)
评论(0)
推荐(0)
编辑
公告