The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Topic Answers Author Views
Errata in C++ Concurrency in Action 1 Susan Harkins 428
how to do this? 4 374822 713
Listings 6.1 (first edition) the threadsafe_stack example 1 588687 183
listing_4.5.cpp errata 1 558896 348
error in partial_sum results 0 John Melas 427
Lock-free queue, segmentation fault (Listing 7.20) 0 551134 544
negative internal_count in Listing 7.20 2 Colin 562
Memory leak in listing 7.20 p. 218? 3 Paul Licameli 595
What is new in this second edition ? 0 529632 455
Listing 9.6 doesn't work for MinGW 5.3.0 0 528012 421
error in pg 113, code listing with compare_exchange_weak 1 519154 724
[errata] Listing 6.4 (p. 158/159) 2 468854 591
Listing 6.9 2 ymmt2005 1376
Listing 6.4 is incorrect 1 akim 1082
Typo in the last picture in Figure 7.1 3 Colin 459
Relaxed operations can be reordered 3 ylin34 1540
why hazard pointer is atomic when hp is thread_local variable in Listing 7.7 1 408840 683
listing 7.12 push function 1 441079 619
listing_6.6.cpp compiler error 3 433618 905
P204 how to remove a node that you had increased its count 1 tuxiaomi@gmail.com 659
Memory ordering in spinlock mutex 1 442308 526
compare_exchange_weak memory orderings 2 429944 669
why const shared_ptr in listing 6.1 1 418090 855
7.2.5 Last paragraph, swap/delete happens-before relation question 2 m4yers 652
calling user-supplied code 2 janie 678
Problem with listing 5.1 (pages 111-112) "Implementation of spinlock mutex using std::atomic_flag" 1 JoeMonk 447
problem with listings 6.7 and 6.10 (perhaps trivial) 0 JoeMonk 509
Error in listing 2.6 1 Mogens 1174
std::scoped_thread ? 1 vpoinot 1866
[errata] scoped_thread example (listing 2.6) 1 JIghtuse 1327
Listing 2.1: Vexingly parsed by GCC version 6.1.1 1 421690 669
Copyright of the source code? 1 pstickar 745
Listing 3.8 (hierarchical mutex) 3 Garp 1438
Non-blocking stack further optimization proposal 0 442308 572
Appendix A.4 constexpr 1 429453 588
error in book??? 1 358570 883
Listing 9.11 interruptible_wait 1 407489 766
listing_2.8 Doesn't make a lot of sence with vector size 10 1 djryan7 644
Is that all your experience? 0 tuxiaomi@gmail.com 617
At preface, why the author said that he would learn how it could be used to... 0 tuxiaomi@gmail.com 548
Listing 6.11 A thread-safe lookup table design problems 2 vkchoudhary 1994
Differences between PDF and Kindle versions of C++ Concurrency in Action PRACTICAL MULTITHREADING by 0 363361 582
why busy loop in list 9.1 0 tuxiaomi@gmail.com 561
Listing 4.14 missing typename keywords 0 407489 554
Identifying the holder of a mutex 1 393092 669
Listing 4.14 detail in spawn_task 0 Lou C 540
Release Sequence Question 0 spectre1989 700
Compiling Appendix C, Message-passing framework 0 392289 845
Appendix C, Message-passing framework 2 pedroedr 1438
Hello concurrency world error: "std::system_error what(): Operation not permitted" 2 387094 1121
Multithreaded programming in C 1 n0kl 1154
[Errata] Work-Stealing Thread Pool, Listing 9.8 Data Races 0 Chris Sharpe 868
Listing 9.3 1 burton0 1306
listing 8.11 is incomplete in epub version 0 358120 637
Can this be used as a textbook? 4 ctote 1878
Chapter 6.2.3 fine-grained locking queue:notifications lost problem 2 kv565687167 1919
Listing 8.1 - data race 2 lmendakiewicz 1796
High Integrity C++ recommends - Use high_integrity::thread in place of std::thread 0 276903 1074
Can one thread locks a mutext twice? 2 sufire 1606
iBook has truncated examples 0 redwood 916
[errata] Figure 5.1, page 105 0 hexcoder 800
Purpose of once_flag 0 APhillips 926
Issue with threadsafe_queue(4.5) copy constructor 0 PremSKumar 979
Bugs on Lock Free Queue 3 Iwan Limpo 1626
Questions around class threadsafe_queue 0 grml 986
Can't find class join_threads 0 grml 960
compare_exchange_weak vs compare_exchange_strong 2 kenozoik 2772
[errata] Minor error in Appendix A 0 zara 995
std::unique_lock and BasicLockable requirement 2 north 1533
listing 6.5 try_pop 1 stereomatching 1245
unique_lock / lock_guard / Concurrency::details::ExternalContextBase::Block 2 yocak 2607
CPU or compilation reorder 0 luckymouse 1067
chapter 6: crash of threadsafe_queue with gcc-4.8.1 0 chenry 1415
"Lazy" conversion of arguments to a thread function 0 vpoinot 1086
wait_pop_head(T& value) in listing 6.9 0 piyo 989
Listing 6.12 Accessing private member of an inner class 0 shashd 1068
Typos in the book and in the zip file 0 akim 1165
A question on chapter 7, page 187 1 xinsichen 1257
Error on Page 126 Line 6-7 1 hayoung 1129
compiling threadpool in listing 9.8 0 Victor.Whiskey.Yankee 1102
small error on page 201 0 derekxgl 952
when old head will be null 3 yaming 1418
ATM example code, compile error 1 si_qing_zhang 1573
Minor error in explaining usage or not of std::move() 0 WalterD 979
QUEUE Source Code Chapter 7 0 Blues76 1081
question about std::lock_guard on listing 3.5 (p45-46) 1 santiagorf 1439
Errata list 2 viboes 1554
does std::lock_guard have a no-throw guarantee? 2 markturney 2736
parallel_partial_sum 3 gazzatav 1464
listing 6.10 0 Yannick 1074
Beginning the book today - Hello who am I? 2 GeneralCody 1631
thread_local - how it works? 4 edxxgardo 1822
thread joinable - Listing_ 2.6.cpp 2 edxxgardo 1562
How to compile on linux (ubunto ) 4 avihaimar@yahoo.com 2623
need explanation about atomic_flag::test_and_set(memory_order_acquire) 0 derekxgl 1206
Minor Error in std::Thread Example 1 shortempered@gmail.com 1681
compare_exchange_weak loop 5 abigagli 2456
Detaching threads 4 dam_ 2205
Copying objects into local thread storage 1 dimayak 1571
milliseconds is defined as duration<int64_t, milli> in gcc 2 derekxgl 1776