C++ Concurrency in Action 书籍阅读

     并发编程,之前甚少接触,也基本上未进行过任何的编程任务。始终是心里的一个痛。于是,痛定思痛,安排今年两个月左右的时间仔细研究一本书籍《C++ Concurrency in Action》。

     对于这本书的阅读计划,就是从头到尾进行阅读,这也是作者推荐的阅读方式。由于阅读的书籍是英文版,因此很多笔记可能是英文的梗概摘要。

     这本书,总共有如下几章:

Chapter 1 Hello, world of concurrency in C++!(2014年3月30日之前阅读)
What is concurrency?
Why use concurrency?
Concurrency and multithreading in C++
Getting started
Summary
Chapter 2 Managing threads(2014年4月3日之前阅读)
Basic thread management
Passing arguments to a thread function
Transferring ownership of a thread
Choosing the number of threads at runtime
Identifying threads
Summary
Chapter 3 Sharing data between threads(2014年4月8日之前阅读)
Problems with sharing data between threads
Protecting shared data with mutexes
Alternative facilities for protecting shared data
Summary
Chapter 4 Synchronizing concurrent operations(2014年4月13日之前阅读)
Waiting for an event or other condition
Waiting for one-off events with futures
Waiting with a time limit
Using synchronization of operations to simplify code
Summary
Chapter 5 The C++ memory model and operations on atomic types(2014年4月18日之前阅读)
Memory model basics
Atomic operations and types in C++
Synchronizing operations and enforcing ordering
Summary
Chapter 6 Designing lock-based concurrent data structures(2014年4月23日之前阅读)
What does it mean to design for concurrency?
Lock-based concurrent data structures
Designing more complex lock-based data structures
Summary
Chapter 7 Designing lock-free concurrent data structures(2014年4月27日之前阅读)
Definitions and consequences
Examples of lock-free data structures
Guidelines for writing lock-free data structures
Summary
Chapter 8 Designing concurrent code(2014年5月1日之前阅读)
Techniques for dividing work between threads
Factors affecting the performance of concurrent code
Designing data structures for multithreaded performance
Additional considerations when designing for concurrency
Designing concurrent code in practice
Summary
Chapter 9 Advanced thread management(2014年5月6日之前阅读)
Thread pools
Interrupting threads
Summary
Chapter 10 Testing and debugging multithreaded applications(2014年5月10日之前阅读)
Types of concurrency-related bugs
Techniques for locating concurrency-related bugs
Summary     关于这本书,每一章我都会做详细的笔记。接下来的10篇日志就是此书的每章记录。

C++ Concurrency in Action 书籍阅读,布布扣,bubuko.com

C++ Concurrency in Action 书籍阅读

上一篇:C#多线程(一)


下一篇:微信小程序云函数中管理短信验证码的完整SDK工具