C++11 并发与多线程(二)

1)线程间共享数据web 线程间共享数据的问题 缘由:因为修改数据引发,若是都只是读数据,没有任何问题; 竞争条件: 例子:电影院同时买热门电影票,只剩几个位置 **data race** to mean the specific type of race condition that arises because of concurrent modification to
相关文章
相关标签/搜索