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
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
There is a very good series on CodeProject by Sasha Barber: Beginners Guide To Threading In .NET Part 1 of n
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.
I recommend picking up a copy of Jeff Richter's CLR via C#, it has some great insight regarding multi-threading and async programming.
InformIT is one of the sites I'd like to visit to get beginner grasp on topics
Sacha (a CodeProject MVP) has a excellent series available on CodeProject...
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.
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.
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.