Is Parallel Programming Hard? What to do about it?
This response came in from someone on my email newsletter list
Paul McKinney’s book on multi-threaded programming is the reference.And it is freely available for download.https://www.kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.2017.01.02a.pdf
I would say that the free book you posted (https://www.kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.2017.01.02a.pdf) probably over-complicates things. It may be useful just as a general reference, but it doesn’t have much about the built-in thread library in C++11.Again, I would avoid ‘Professional Multicore Programming’ as it was released before C++11. In my opinion there’s absolutely no need for using POSIX threads or any other third-party concurrency library now that we have the built-in one.I haven’t read ‘C++ Concurrency in Action’, but it looks like a great book about concurrency in C++11.There are loads of tutorials online as well such as http://baptiste-wicht.com/categories/c%2B%2B11-concurrency-tutorial.html and https://www.youtube.com/watch?v=LL8wkskDlbs&list=PL5jc9xFGsL8E12so1wlMS0r0hTQoJL74M