Avoid multithreading traps with Roslyn: Lock object selection

18 sie 2019 | Blog | .net | roslyn | multithreading | programowanie | IT
Multithreading is one of the most difficult aspects of programming and can cause a lot of headaches. The main source of problems is often improper usage of synchronization mechanisms, which can result in deadlocks or a complete lack of synchronization despite our expectations. The infamous deadlocks can be detected in runtime thanks to tools like Concurrency Visualizer, Parallel Tasks Window or with WinDBG !dlk command. However, these tools are often used only after some unexpected behavior is observed, but it would be nice to reduce the feedback loop and detect these issues in design time.

POSTY TEGO AUTORA

Visualizing Test Execution with OpenTelemetry4 maj 2025

Blog | programowanie | .net | c# | IT

Structuring Test Projects for Maintainability1 maj 2025

Blog | programowanie | testowanie | software design | IT

How to Run a React Development Server with HTTPS4 sty 2025

Blog | programowanie | .net | react | IT

Mocking authorization tokens with WireMock.NET28 lut 2024

Blog | programowanie | .net | c# | IT

C# code snippets for Resharper and Rider9 lut 2024

Blog | programowanie | .net | c# | IT

Cezary Piątek Blog

Cezary Piątek