TL;DR; Do not believe any documentation. It might be incorrect or you may not understand it. Test everything. MSDN lies A few months ago I was writing some code in C# to get executable paths for all running processes. Generally, I tried the most common approach using BCL: string executablePath = process.MainModule.FileName; However, for some … Continue reading Do not believe any documentation
Tag: concurrency
Concurrency – beyond the basics
Most of the programmers are aware of the typical issues of concurrent computing: Race conditionDeadlockStarvationLivelock All of the above are caused by improper synchronization. The need of additional concurrency abstractions Let's see the following pseudo-code: value = "not assigned" isCompleted = false func A() { while !isCompleted { } print value } func B() { … Continue reading Concurrency – beyond the basics