brief contents 1■Hello,.world of concurrency in C+!1 2·Managing threads 15 3Sharing data between threads 33 4Synchronizing concurrent operations 67 5The C++memory model and operations on atomic types 103 6Designing lock-based concurrent data structures 148 7Designing lock-free concurrent data structures 180 8Designing concurrent code 224 9Advanced thread management 273 10Testing and debugging multithreaded applications 300 viivii brief contents 1 ■ Hello, world of concurrency in C++! 1 2 ■ Managing threads 15 3 ■ Sharing data between threads 33 4 ■ Synchronizing concurrent operations 67 5 ■ The C++ memory model and operations on atomic types 103 6 ■ Designing lock-based concurrent data structures 148 7 ■ Designing lock-free concurrent data structures 180 8 ■ Designing concurrent code 224 9 ■ Advanced thread management 273 10 ■ Testing and debugging multithreaded applications 300