# Sample: SynchronizationContext, ConfigureAwait and deadlocks

SingleThreadedSynchronizationContext is a minimal version of what WinForms, WPF and legacy ASP.NET provide:
one thread pulling callbacks off a queue.

Program.cs reproduces the classic .Result deadlock under that context, and shows ConfigureAwait(false)
avoiding it.

    cd Deadlocks
    dotnet run -c Release

    cd Deadlocks.Tests
    dotnet run -c Release
