cpp11misc

1. C++11多线程(简约但不简单)

2. C++11多线程-mutex

3. C++11多线程-mutex(2)

4. C++11多线程-条件变量(condition_variable)

5. C++11多线程-异步运行之promise

6. C++11多线程-异步运行之packaged_task

7. C++11多线程-异步运行之最终篇(future+async)

8. C++11多线程-线程局部存储

9. C++11多线程-原子操作(1)

10. C++11多线程-原子操作(2)

11. C++11多线程-内存模型

12. C++11-函数模板

VSCode下环境搭建相关:

  1. mac在vscode下搭建C/C++环境 https://www.jianshu.com/p/050fa455bc74
  2. vscode下c++代码格式化
  1. mac下代码覆盖率工具 https://www.cnblogs.com/fnlingnzb-learner/p/6943512.html
  2. 本文使用的格式化参数
    {BasedOnStyle: Google, IndentWidth: 4, AccessModifierOffset: -4, AlignTrailingComments: true, AllowShortFunctionsOnASingleLine: false, ColumnLimit: 120, ConstructorInitializerAllOnOneLineOrOnePerLine: true}