1.7

C++ Concurrency in Action Anthony Williams

Chapter 3. Sharing data between threads

3.1.1 Race conditions

  In concurrency, a race condition is anything where the outcome depends on the relative ordering of execution of operations on two or more threads;

3.1.2 Avoiding problematic race conditions

3.2 Protecting shared data with mutexes

3.2.1 Using mutexes in C++

3.2.2 Structuring code for protecting shared data

3.2.3 Spotting race conditions inherent in interfaces

posted @ 2019-01-08 12:51  lefthook  阅读(230)  评论(0编辑  收藏  举报