HIGHLIGHT C++ Concurrency in Action is the first book to market to show how to take advantage of the new C++ Standard and how to write robust multi-threaded applications in C++. DESCRIPTION With the new C++ Standard and Technical Report 2 (TR2), multi-threading is coming to C++ in a big way. TR2 will provide higher-level synchronization facilities that allow for a much greater level of abstraction, and make programming multi-threaded applications simpler and safer. As a guide and reference to the new concurrency features in the upcoming C++ Standard and TR2, this book is invaluable for existing programmers familiar with writing multi-threaded code in C++ using platform-specific APIs, or in other languages, as well as C++ programmers who have never written multithreaded code before. KEY POINTS * When and when not to use concurrency * Concurrency and multi-threading in C++ * Concurrency support in the New Standard * How to improve performance with concurrency * How to manage concurrency * Problems and solutions in sharing data * Synchronization and why we need it * Memory model details
英文原版是不可多得的好书,评分低是中文版翻译的渣。 如果愿意花时间把原版硬啃下来,并且切实在代码上实践,辅以工业级库(比如boost,std,folly)的源码学习的话,真的能学到太多太多了。 本书作者是大名鼎鼎的boost库并发的作者,呼应系列名《In Action》。全书围绕真实...
評分最新问题,chaper 6.2.3 find-grained queue,在wait_and_pop和push的同步上调用了condition variable,但是push方法因为notify的时候没有取得wait_and_pop方法的head-lock所以在特殊情况下会导致wait_and_pop方法永远等待下去。 这里是问题的描述 http://stackoverflow.com/ques...
評分最新问题,chaper 6.2.3 find-grained queue,在wait_and_pop和push的同步上调用了condition variable,但是push方法因为notify的时候没有取得wait_and_pop方法的head-lock所以在特殊情况下会导致wait_and_pop方法永远等待下去。 这里是问题的描述 http://stackoverflow.com/ques...
評分有侠义之士提供了电子版 https://pan.baidu.com/s/1qX8j7bA 各位可以预览一下再作判断 翻译不及格 这不是英语能力问题 而是中文表达问题, 或根本就是语言问题 至于差到什么程度 是否值得浪费金钱购买 是否值得浪费时间生命去阅读(结果还读不懂) 大家可以自行下载预览一下 心...
評分这本书是第一本也是唯一一本专门讨论C++多线程的书籍。它内容由浅入深,讲解全面。书中的例子也很有代表性,但是部分代码确实有错误,在阅读时需要仔细的推敲。锁的粒度越大,性能越低,但不容易出错,代码也好理解。最后归根结底,还是权衡问题。书中提到了使用层次锁避免死锁...
終於看完瞭。附錄真長
评分看瞭個大概,細節的以後再說。。
评分作者是碉堡的, 寫書水平是點點點的. 從第五章memory model開始有讀paper的感覺, 各種semantics翻來覆去好多遍. 之後深入lock-free, 以及concurreny對多核CPU的影響是為本作之精華.
评分關於lock-free算法部分頗為醒腦, 但實際跑起來效率不佳. 所缺者, 純講語言, 無實際程序作根底. 書中例子不少並無編譯器實現, 隻能紙上談談. 另, 作者好像還在賣多綫程庫, 和書價格差不多.
评分趕在第二版齣來之前刷掉這本。果然大傢也是卡在memory order這塊。
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有