dotnet / dotnet/roslyn

Reimplement semaphores without using SemaphoreSlim/AsyncSemaphore

Open
#85,530 0 comments 0 reactions 0 assignees View on GitHub
Area-Razor
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

VS SDK has banned `SemaphoreSlim` and `AsyncSemaphore`, which we use in ~4 places, and the recommendation is to move to `ReentrantSemaphore`. See https://github.com/microsoft/VSSDK-Analyzers/pull/257

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.