Tag: windows operating system

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#.

Thread Basics In Windows And The Common Language Runtime

In this post I will be discussing threads in the CLR, and the general threading model used by Windows. Threads, though they are becoming less and less important in .NET, being replaced by async/await, the TPL, etc. still have uses and are good to know about, even just from the standpoint of better understanding the ...