Boost
aaa-bbb-ccc
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
error C2065: “shared_mutex”: 未声明的标识符
boost 编译错误 错误 11 error C2065: “shared_mutex”: 未声明的标识符 解决方式: 1、查找头文件是否引用 #include "boost/thread/pthread/shared_mutex.hpp" 2、判断附件库目录是否有相关的lib文件原创 2016-03-03 09:56:22 · 2174 阅读 · 0 评论 -
boost: Mutex、scoped_lock 使用方式
#include class CBusiness { public: void Push(int val) { boost::mutex::scoped_lock lock(m_ListMutex); m_List.push_back(val); } void Pop() {原创 2016-03-03 10:15:16 · 4461 阅读 · 0 评论
分享