16 Star 113 Fork 35

pcd/QPerf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
providetest.h 490 Bytes
一键复制 编辑 原始数据 按行查看 历史
pcd 提交于 2021-04-14 17:17 +08:00 . :recycle:change c++11 feature.
#ifndef PROVIDETEST_H
#define PROVIDETEST_H
#include <QList>
#include <QVector>
/**
* @brief The ProvideTest class
* qt容器的的线程安全测试。
*/
class ProvideTest
{
public:
ProvideTest();
void run();
private:
void runTest(QVector<int> &src);
void runTest(QList<int> &src);
private:
QVector<int> m_list; // QVector 容器。
QList<int> m_list2; // QList容器。
friend class ReadRunner;
friend class WriteRunner;
};
#endif // PROVIDETEST_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/andwp/qperf.git
git@gitee.com:andwp/qperf.git
andwp
qperf
QPerf
master

搜索帮助