正在加载图片...
about this book This book is an in-depth guide to the concurrency and multithreading facilities from the new C++Standard,from the basic usage of std:thread,std:mutex,and std:async, to the complexities of atomic operations and the memory model. Roadmap The first four chapters introduce the various library facilities provided by the library and show how they can be used. Chapter 5 covers the low-level nitty-gritty of the memory model and atomic opera- tions,including how atomic operations can be used to impose ordering constraints on other code,and marks the end of the introductory chapters. Chapters 6 and 7 start the coverage of higher-level topics,with some examples of how to use the basic facilities to build more complex data structures-lock-based data structures in chapter 6,and lock-free data structures in chapter 7. Chapter 8 continues the higher-level topics,with guidelines for designing multi- threaded code,coverage of the issues that affect performance,and example imple- mentations of various parallel algorithms. Chapter 9 covers thread management-thread pools,work queues,and interrupt- ing operations. Chapter 10 covers testing and debugging-types of bugs,techniques for locating them,how to test for them,and so forth. The appendixes include a brief description of some of the new language facili- ties introduced with the new standard that are relevant to multithreading,the xixxix about this book This book is an in-depth guide to the concurrency and multithreading facilities from the new C++ Standard, from the basic usage of std::thread, std::mutex, and std::async, to the complexities of atomic operations and the memory model. Roadmap The first four chapters introduce the various library facilities provided by the library and show how they can be used. Chapter 5 covers the low-level nitty-gritty of the memory model and atomic opera￾tions, including how atomic operations can be used to impose ordering constraints on other code, and marks the end of the introductory chapters. Chapters 6 and 7 start the coverage of higher-level topics, with some examples of how to use the basic facilities to build more complex data structures—lock-based data structures in chapter 6, and lock-free data structures in chapter 7. Chapter 8 continues the higher-level topics, with guidelines for designing multi￾threaded code, coverage of the issues that affect performance, and example imple￾mentations of various parallel algorithms. Chapter 9 covers thread management—thread pools, work queues, and interrupt￾ing operations. Chapter 10 covers testing and debugging—types of bugs, techniques for locating them, how to test for them, and so forth. The appendixes include a brief description of some of the new language facili￾ties introduced with the new standard that are relevant to multithreading, the
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有