码迷,mamicode.com
首页 > 其他好文 > 详细

1.7

时间:2019-01-08 14:58:38      阅读:130      评论:0      收藏:0      [点我收藏+]

标签: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

1.7

标签:red   enc   chap   code   where   share   int   str   prot   

原文地址:https://www.cnblogs.com/lefthook/p/10238375.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!