标签:red enc chap code where share int str prot
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
标签:red enc chap code where share int str prot
原文地址:https://www.cnblogs.com/lefthook/p/10238375.html