views:

443

answers:

6

What are the best C++ threading books one should read? And also, please indicate which threading library it uses and its level like beginner, intermediate, advanced or reference.

A: 

"Multithreaded programming in C++", Mark Walmsley, Springer (January 2000)
ISBN: 1852331461 (from amazon)

This book is for beginners, and explains multithreading and synchronisation by building a framework step-by-step, using Windows and POSIX primitives.

Adrien Plisson
+3  A: 

Personally if you want to learn about threading (and concurrency) then the best thing currently I believe is Herb Sutters 'Effective Concurrency' series which will be fleshed out and turned into a book (later this year).

graham.reeds
I was about to add an answer about this series :) One observation: the focus is on C++0x in these articles, however the topics context is general.
fogo
Later articles do have a C++0x bent (which is understandable since HS was the chair on the C++0x committee) but the earlier stuff can be applied to any language/framework.
graham.reeds
Ok, thanks I will wait for this one.
jasonline
+1  A: 

Low level threading for C/C++ as reference: "Programming with POSIX Threads" by David R. Butenhof

stefaanv
+1 The Butenhof book is excellent, and explains many concurrency challenges very well (not just POSIX-specific).
gavinb
A: 

For CUDA programming and data-parallel algorithms in general: Programming Massively Parallel Processors: A Hands-on Approach

John Dibling
+3  A: 

If you are interested in the upcoming Standard C++ threading library, then have a look at C++ Concurrency in Action.

cmeerw
How about books that is already available right now, anything in mind?
jasonline
"C++ Concurrency in Action" *is* available right now (apart from Appendix B) in draft form.
Alexandros Gezerlis
I have a copy of the _C++ Concurrency in Action_ draft; it's really quite good. The author, Anthony Williams, occasionally [posts on Stack Overflow](http://stackoverflow.com/users/5597/anthony-williams).
James McNellis
A: 

I'd like to contribute though...

Programming With Unix Threads by Charles Northrup

Thread library: UNIX thread library Level: Beginner?

jasonline