views:

1395

answers:

9
+4  Q: 

c# threading

Can anyone direct me to a good C# (or general) threading tutorial/article/blog?

Im being asked to design a multi threaded application and I suddenly realised, that I don't really know anything about

+11  A: 

Hi TK

Try this Good basic overview in C#

+5  A: 

There is a very good series on CodeProject by Sasha Barber: Beginners Guide To Threading In .NET Part 1 of n

leppie
+10  A: 

I have a tutorial on my site, and as previously mentioned Joe Albahari (co-author of C# 3.0 in a Nutshell) has a good one on his site too.

Joe Duffy's blog is the most interesting one I've read on concurrency (and other topics). His new book, Concurrent Programming on Windows, is out very soon. I've read a pre-release version, and it's cracking - but definitely more for in-depth knowledge than a brief overview.

EDIT: There's also the Parallel Extensions team blog.

Jon Skeet
+2  A: 

I recommend picking up a copy of Jeff Richter's CLR via C#, it has some great insight regarding multi-threading and async programming.

urini
A: 

InformIT is one of the sites I'd like to visit to get beginner grasp on topics

icelava
+3  A: 

Sacha (a CodeProject MVP) has a excellent series available on CodeProject...

rudigrobler
Ermm, I said that already, an hour back...
leppie
Sorry... Did not see it... I up voted your sugestion!
rudigrobler
Thanks :) It seems you missed 1 link though ;p (4)
leppie
A: 

Given your admitted inexperience with multi-threading I'd take a look at any multi-threading frameworks that you can leverage rather than rolling your own.

Andrew
A: 

The .NET Framework's New SynchronizationContext Class by Leslie Sanford

This is helpful when it comes to components that will be used with a From and doing things in the background using a thread and notifying the GUI via events. Basically this is how the BackgroundWorker is doing its magical synchronization of events fired from a different thread.

Martin
+1  A: 

This is the first article I ever read about threading. I still refer to it now and then.

It covers the big topics; where when and how.

http://www.yoda.arachsys.com/csharp/threads/

Echostorm