会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
出租房程序员
博客园
首页
新随笔
联系
订阅
管理
2015年4月9日
c++11: <thread>学习
摘要: 头文件中包含thread类与this_thread命名空间,下面逐一介绍。 thread类 1. 构造函数 (1)默认构造函数 thread() noexcept; 默认构造函数不执行任何线程,产生线程对象的线程ID为0。 (2)初始化构造函数 template explicit thread (Fn&& fn, Args&&... args); 产生一个thread对象,提供一个joinab...
阅读全文
posted @ 2015-04-09 21:21 出租房程序员
阅读(435)
评论(0)
推荐(0)
编辑
公告