摘要: #include #include using namespace std;struct Count{ long count1; char space[64];//此处增加64字节的“无用”空间,目的就是使得count1和count2位于不同的Cache行,从而避免Cache行同步引起的“乒乓效应”... 阅读全文
posted @ 2015-05-20 10:17 wcm_94 阅读(1070) 评论(0) 推荐(0) 编辑