C++ 单例模式总结与剖析 - 行者孙 - 博客园
#设计模式
页面笔记
这篇文章是分析透彻比较全面的介绍C++单例模式的文章 #设计模式
划线列表
- If control enters the declaration concurrently while the variable is being initialized, the concurrent execution shall wait for completion of the initialization.
- 如果当变量在初始化的时候,并发同时进入声明语句,并发线程将会阻塞等待初始化结束。 Link
- 非常不错的单例模式的写法 #设计模式