How to discover multi threading related bugs and debug them?

Multi threaded applications are great, they provide high performance, high throughput but tackling concurrency issues are sometimes not easy. Especially preemption related bug cannot be easily reproduced. Thus Microsoft created a useful tool called CHESS, to simulate all possible preemptions for your multi threaded application.

How to correctly implement multi-threading in C# http://csharptest.net/323/how-to-correctly-implement-multi-threading-in-c/

Tools And […]

Multi Threading in C#

Threading in C#, by Joseph Albahari http://www.albahari.com/threading/

Introduction to Multithreading in C# http://www.c-sharpcorner.com/UploadFile/mgold/MultithreadingIntro10062005000439AM/MultithreadingIntro.aspx?ArticleID=920ecafc-e83b-4a9c-a64d-0b39ad885705

 

The Santa Claus Problem – Thread Synchronization http://www.youtube.com/watch?v=pqO6tKN2lc4

 

thread safety

“A class is generally considered thread-safe if its methods can be invoked by multiple threads concurrently without corrupting the state of the class or causing unexpected side-effects. There are many […]

Parallel processing with C#

http://www.parallelcsharp.com/

Asynchronous Versus Parallel Programming http://www.peter-urda.com/2010/10/asynchronous-versus-parallel-programming

 

Tools And Techniques To Identify Concurrency Issues https://msdn.microsoft.com/en-us/cc546569.aspx

Concurrency on MSDN http://msdn.microsoft.com/concurrency

Parallel Programming in the .NET Framework https://msdn.microsoft.com/en-us/library/dd460693.aspx books: ConcurrentProgramming on Windows, by Joe Duffy, Addison-Wesley Win32 Multithreaded Programming, by A. Chohen and M. Woodring

 

 

Asynchronous & Parallel programming are tricky to understand for new […]