本站博客的文章分类目录
C++并发实战-第十与十一章-总学习笔记第8

C++并发实战-第十与十一章-总学习笔记第8

[TOC]
C++ 并发实战《C++ Concurrency in Action》的学习笔记 8, 记录第十与十一章的部分 Parallel algorithms & Testing and debugging multithreaded applications.
内容是:
第十章

  • Using the C++17 parallel algorithms
    第十一章
  • Concurrency-related bugs
  • Locating bugs through testing and code review
  • Designing multithreaded tests
  • Testing
阅读更多
C++并发实战-第九章-总学习笔记第7

C++并发实战-第九章-总学习笔记第7

[TOC]
C++ 并发实战《C++ Concurrency in Action》的学习笔记 7, 记录第九章的部分 dvanced thread management.
内容是:

  • Thread pools
  • Handling dependencies between pool tasks
  • Work stealing for pool threads
  • Interrupting threads
阅读更多
C++并发实战-第八章-总学习笔记第6

C++并发实战-第八章-总学习笔记第6

[TOC]
C++ 并发实战《C++ Concurrency in Action》的学习笔记 6, 记录第八章的部分 Designing concurrent code.
内容是:

  • 线程间如何分数据. Techniques for dividing data between threads.
  • 影响并发代码的因素. Factors that affect the performance of concurrent code.
  • 影响因素如何影响数据结构的设计. How performance factors affect the design of data structures.
  • 异常安全. Exception safety in multithreaded code.
  • Scalability.
  • Example implementations of several parallel algorithms.
阅读更多
C++并发实战-第七章-总学习笔记第5

C++并发实战-第七章-总学习笔记第5

[TOC]
C++ 并发实战《C++ Concurrency in Action》的学习笔记 5, 记录第五章的部分 Designing lock-free concurrent data structures.
内容是设计 lock-free 的数据结构用于并发, 实现了 stack 与 queue 的示例, 同时包含了与之相关的内存管理的技术(例如垃圾收集).

阅读更多
C++并发实战-第六章-总学习笔记第4

C++并发实战-第六章-总学习笔记第4

[TOC]
C++ 并发实战《C++ Concurrency in Action》的学习笔记 4, 记录第六章的部分 Designing lock-based concurrent data structures.
内容是介绍有锁情况下的 data structure 的设计原则, 并且提供了 stack, queue, hash map, and linked list 的设计范例.
不仅仅考虑 thread safety, 还考虑了 concurrency efficiency 和 exception safety 等等设计思想, 非常值得品读与借鉴.

阅读更多
C++并发实战-第五章-总学习笔记第3

C++并发实战-第五章-总学习笔记第3

[TOC]
C++ 并发实战《C++ Concurrency in Action》的学习笔记 3, 记录第五章的部分 The C++ memory model and operations on atomic types.
内容是 C++ 内存模型与原子类型及其操作等中层的技术.

阅读更多
GDB 入门--反汇编, 反向调试, 脚本, 杂项
GDB 入门--断点, 信息浏览, 运行过程控制
《effective modern C++》Chapter 6-8