摘要: 转自:https://www.jianshu.com/p/0821801170dd,https://zhuanlan.zhihu.com/p/357115847 1.什么是优雅退出 退出一个线程的时候,要保证它使用的资源被释放掉,不能直接stop,否则可能导致未定义的行为,那么如何保证线程退出前所占 阅读全文
posted @ 2023-01-14 12:01 lypbendlf 阅读(96) 评论(0) 推荐(0) 编辑