Category: asynchronous programming

CLR Threads Via C# Part 4 – Mutex and lock

In this post I cover the lock keyword in C#, deadlocking, and what a mutex is and how to use it in C#.


CLR Threads Via C# Part 3 – Race Conditions, Atomic Instructions With Interlocked, and Monitors

Part 3 of the CLR multi-threading series where I discuss shared resources, critical sections, race conditions, atomic instructions, the interlocked class and monitors.

CLR Threads Via C# Part 2 – The Thread Pool

In this post I'll be covering the Thread Pool as part 2 in my CLR threading series.

CLR Threads Via C# Part 1 – Thread Creation And The System.Threading.Thread Class

In this post I cover the basics of CLR threads, the System.Threading.Thread class, and thread creation and lifecycle in C# via the CLR, this is part 1 in a multi-part series on threading in the CLR.

Mutex and Semaphores, What’s The Difference?

In this post, I discuss locking mechanisms in concurrent programming, specifically mutex and semaphore locks.