Micro-optimizations in .NET (x86/x64)
Part 1
Part 1
It is no secret that thread synchronization mechanisms in multithreaded applications consume a lot of resources. In .NET, starting with version 3.5, some synchronization primitives were introduced that take into account the fact that calls to Windows...