views:

308

answers:

5

I have many C# books that all have one small section on Threads and maybe another on Delegates and Lamdas, however, I can't seem to find a book where the primary focus is Concurrency. Can anyone recommend a book on using Concurrency when writing C#.net apps?

I have found several books on Concurrency principles, but I need actual code samples.

Thanks!

+11  A: 

I would check out Concurrent Programming on Windows by Joe Duffy:

Author Joe Duffy has risen to the challenge of explaining how to write software that takes full advantage of concurrency and hardware parallelism. In Concurrent Programming on Windows, he explains how to design, implement, and maintain large-scale concurrent programs, primarily using C# and C++ for Windows.

Andrew Hare
This is one of the few tech books I wasn't bored reading!
moogs
+1 Thanks for the suggestion. I bought this book today and it is great. I looked at this book previously and incorrectly thought it was C++ only. It actually covers .net in general and C#, VB and C++.
JK
+7  A: 

Threading in C# (free online e-book)

cxfx
+3  A: 

In addition to Joe Duffy's book and the Albahari book,

Jon Skeet also has what he calls a "fairly long" explanation for multithreading :

link text

Also, there is this book C# 2005 and 2008 Threading:

link text

Finally there is this book by Manning although it is for .NET 1.0; .NET MultiThreading

link text

anirudhgarg
Thanks for the help. +1 for the Jon Skeet link.The .Net 1.0 book is probably too outdated to be helpful.
JK
No problem. Looked like the link to C# 2005 and 2008 Threading book was broken. I have fixed that. You could check that out as well.
anirudhgarg
A: 

.NET Multithreading

QrystaL
This is a .net 1.0 book and someone else already gave this answer before you did.
JK
+3  A: 

I don't understand, how do you intend to read books concurrently?

Robin Williams