设计模式 单例:由于static变量是线程安全的,因此单例使用局部静态变量是线程安全的,但是如果是通过手动判断指针等方式则是线程不安全的 设计模式 https://lhish.github.io/project/hide/设计模式/ 作者 lhy 发布于 2025年8月16日 许可协议 Please enable JavaScript to view the comments