会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
jiu__
卓越 OR 淘汰
博客园
首页
新随笔
联系
管理
2017年1月18日
c++11: thread_local
摘要: thread_local变量是C++ 11新引入的一种存储类型。它会影响变量的存储周期(Storage duration),C++中有4种存储周期: automatic static dynamic thread 有且只有thread_local关键字修饰的变量具有线程周期(thread durat
阅读全文
posted @ 2017-01-18 15:41 jiu~
阅读(2405)
评论(0)
推荐(1)
编辑
单例模型 懒汉 饿汉
摘要: 单例模型 饿汉模式: 懒汉模式:
阅读全文
posted @ 2017-01-18 15:39 jiu~
阅读(400)
评论(0)
推荐(0)
编辑
公告